@aliem/xmlpredator

1.0.0 • Public • Published

xmlpredator

it hunts down alien xml outputting cheesy html

API

The package exports a single function with signature:

  • String, the XML as string.
  • Object, options.

Options:

  • strict: Boolean, use a strict-mode SAX parser
  • ontext: Function, transform function with a single argument: String, outputs the transformed String.
  • onattribute: Function, transform function with two arguments: key: String, value: String, returns a String

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @aliem/xmlpredator

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • aliem