sax-wasm
sax-wasm copied to clipboard
The first streamable, fixed memory XML, HTML, and JSX parser for WebAssembly.
**Is your feature request related to a problem? Please describe.** Hi @justinwilaby Thanks for this great lib! I just tried it out and it is very fast. We have a...
You could do something like this where you locate the wasm file based on `import.meta.resolve`. This should work for local files also, at least if fetch supports this. Dunno if...
I try to pipe a stream into the parser, but it fails: ``` const fs = require('fs'); const { SaxEventType, SAXParser } = require('sax-wasm'); const parser = new SAXParser(SaxEventType.Attribute |...
**Describe the bug** Suppose you have the following: ```jsx {bar < baz ? : } ``` The SAX parser will detect that `
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
The API can be improved by adding a simple generator function like so: ```js class SAXParser { async *parse(reader) { let event this.eventHandler = function() {event=arguments} while(true) { const chunk...
Hi Justin I'm wondering if you would be nterested to develop a react native npm module based on your sax-wasm project. Happy to pay for this service. To give some...
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Hi, I'm using sax-wasm...