{"library":"saxes","type":"library","category":null,"description":"Saxes is an evented, streaming XML parser for JavaScript, currently at version 6.0.0. It is a modern, stricter, and significantly faster fork of the original `sax` library, designed primarily for Node.js environments (requiring Node.js >=12.22.7) but also functional in browsers. Its core differentiator is a strong adherence to XML 1.0/1.1 and Namespaces in XML 1.0/1.1 well-formedness rules, unlike `sax` which tolerates malformed structures. This makes `saxes` unsuitable for HTML or pseudo-XML parsing, as it will explicitly report well-formedness errors. While it is a non-validating parser, it aims to catch all malformed constructs outside of thorough DTD validation. `saxes` does not include a `Stream` API, a notable departure from its `sax` predecessor, and its `onerror` handler defaults to throwing errors, which can be overridden. The project is actively maintained, with a focus on performance and strict conformance to XML specifications.","language":"javascript","status":"active","version":"6.0.0","tags":["javascript","typescript"],"install":[{"cmd":"npm install saxes","imports":["import { SaxesParser } from 'saxes';","import type { SaxesOptions } from 'saxes';","const { SaxesParser } = require('saxes');"]},{"cmd":"yarn add saxes","imports":[]},{"cmd":"pnpm add saxes","imports":[]}],"homepage":null,"github":"https://github.com/lddubeau/saxes","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/saxes","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/saxes/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}