xml.js
xml.js copied to clipboard
TypeScript definitions
Hello, and thanks for the library.
Can you please add TypeScript definitions so that TypeScript users can consume it?
No, but I will accept a PR.
For any other TypeScript users reading this, I recommend using: https://github.com/aautio/validate-with-xmllint
For any other TypeScript users reading this, I recommend using: https://github.com/aautio/validate-with-xmllint
This solution only works in Node.js, not support in browsers.
Because it uses the child_process API in the code.
https://github.com/aautio/validate-with-xmllint/issues/23#issuecomment-1727477352
refs
https://stackoverflow.com/questions/77105411/defining-typescript-types-for-commonjs-module