Fast dependency-free library to parse a JSON stream using utf-8 encoding in Node.js, Deno or any modern browser. Fully compliant with the JSON spec and JSON.parse(...)
.
There are multiple flavours of @streamparser:
- The @streamparser/json package allows to parse any JSON string or stream using pure Javascript.
- The @streamparser/json-whatwg wraps
@streamparser/json
into a WHATWG TransformStream. - The @streamparser/json-node wraps
@streamparser/json
into a node Transform stream.
See LICENSE.md.