{"library":"node-xmllint","type":"library","category":null,"description":"node-xmllint is an Emscripten port of libxml2's `xmllint` utility, enabling XML and XSD schema validation directly within Node.js environments and web browsers. It provides a synchronous `validateXML` function that returns an object containing an `errors` array (or null if no errors). As of version 1.0.0, the package has not seen updates in approximately 8 years, indicating it is an abandoned project. Its key differentiator was bringing the battle-tested libxml2 C validation engine to JavaScript runtimes, supporting complex XML Schema Definitions directly, unlike simpler regex-based or DOM-parser-based validation methods available at the time. It was designed to integrate with older frontend bundling tools like Browserify via `browserify-shim` for browser usage. Newer, actively maintained alternatives exist that leverage WebAssembly for better performance and modern API design.","language":"javascript","status":"abandoned","version":"1.0.0","tags":["javascript"],"install":[{"cmd":"npm install node-xmllint","imports":["const xmllint = require('node-xmllint');","const { validateXML } = require('node-xmllint'); // Direct destructuring, assuming it's an object property\n// Or, more accurately based on docs: \nconst xmllint = require('node-xmllint');\nxmllint.validateXML(...);"]},{"cmd":"yarn add node-xmllint","imports":[]},{"cmd":"pnpm add node-xmllint","imports":[]}],"homepage":null,"github":"https://github.com/tib-tib/xml.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-xmllint","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/node-xmllint/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}