+4
-10
README.md
+4
-10
README.md
···
4
5
**Note: This package is browser-only.** It uses DOM APIs and browser events for initialization and cannot be used in Node.js.
6
7
-
This is a fully compliant HTML5 parser implementing the [WHATWG HTML5 specification](https://html.spec.whatwg.org/multipage/parsing.html), passing the html5lib-tests conformance suite.
8
9
## Installation
10
···
31
</html>
32
```
33
34
-
### WebAssembly Version (faster, recommended)
35
36
```html
37
<!DOCTYPE html>
···
90
- DOM manipulation
91
- HTML serialization
92
93
-
## Browser Compatibility
94
-
95
-
Requires a modern browser with:
96
-
- ES6 support
97
-
- WebAssembly (for WASM version)
98
-
- Web Workers (for worker version)
99
-
100
## Source Code
101
102
The OCaml source code is available on the `main` branch:
103
-
https://github.com/avsm/ocaml-html5rw
104
105
## License
106
···
4
5
**Note: This package is browser-only.** It uses DOM APIs and browser events for initialization and cannot be used in Node.js.
6
7
+
This is a fully compliant HTML5 parser implementing the [WHATWG HTML5 specification](https://html.spec.whatwg.org/multipage/parsing.html), passing
8
+
the html5lib-tests conformance suite. It is based on transpiling <https://github.com/validator/validator> into OCaml.
9
10
## Installation
11
···
32
</html>
33
```
34
35
+
### WebAssembly Version
36
37
```html
38
<!DOCTYPE html>
···
91
- DOM manipulation
92
- HTML serialization
93
94
## Source Code
95
96
The OCaml source code is available on the `main` branch:
97
+
https://tangled.org/anil.recoil.org/ocaml-html5rw
98
99
## License
100