1.0.0 • Published 9 years ago
@aliem/xmlpredator v1.0.0
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
1.0.0
9 years ago