@axelsoftware/libxmljs
v0.0.9
Published
Fork of libxmljs with added support of MSXML interface
Readme
libxmljs/MSXML
NodeJS bindings for libxml2 with MSXML support.
npm install @axelsoftware/libxmljs
This fork of libxmljs extends the original library with MSXML-compatible DOM methods and properties.
Changes
New functions
Some new functions have been added (e.g. selectSingleNode).
Changes in naming
Some methods from the original library have been renamed with a _ prefix (e.g. _methodName). This was done to allow them to be exposed as properties instead of functions, improving API consistency and aligning with MSXML-like usage.
Example:
// Old style:
const name = node.childNodes();
// New style (property-like):
const name = node.childNodes;
// or
const name = node._childNodes();npm
To publish the package on npm you must generate/update the dist directory.
To do this you have to run the npm run tsc command before.
