{"library":"txml","type":"library","category":null,"description":"tXml is a highly optimized and lightweight XML parser designed for high performance across various JavaScript environments, including Node.js, browsers, web workers, and serverless functions. Currently stable at version 5.2.1, the library maintains an active development pace with notable recent updates like the v4 and v5 series. Its core strength lies in its speed, significantly outperforming alternatives like `sax` or `xml2js`, and offering a measurable advantage over `fast-xml-parser` while maintaining a minimal footprint (1.6KB minified + gzipped). tXml distinguishes itself by providing a simple `txml.parse(xml)` API, robust error handling for malformed XML, comprehensive feature support including namespaces, CDATA, and stream processing, and generating an easily traversable DOM-like object. It also offers advanced features such as direct ID/class search on the XML string and simplification options similar to PHP's SimpleXML.","language":"javascript","status":"active","version":"5.2.1","tags":["javascript","xml","parser","dom","document","small","fast","simple","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install txml","imports":["import * as txml from 'txml';","import { transformStream } from 'txml';","import type { XMLNode } from 'txml';"]},{"cmd":"yarn add txml","imports":[]},{"cmd":"pnpm add txml","imports":[]}],"homepage":null,"github":"https://github.com/TobiasNickel/tXml","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/txml","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/txml/compatibility"}}