XML and HTML processing tasks for @metreeca/gear.
npm install @metreeca/gear # the job execution API
npm install @metreeca/gear-xml # this package
Node.js 22 or later is required.
TypeScript consumers must use "moduleResolution": "nodenext"/"node16"/"bundler" in tsconfig.json.
The legacy "node" resolver is not supported.
| Task | Description |
|---|---|
xml() |
XML parser |
html() |
HTML parser |
xpath() |
XPath selector |
focus() |
Content extractor |
untag() |
Markdown renderer |
This project is licensed under the Apache 2.0 License – see LICENSE file for details.
XML and HTML processing tasks.
Parses XML and HTML payloads, addresses the nodes they hold by XPath expression, and reads the selected values as the types a consumer expects.
See