@aliem/xmlpredator
predates the alien xml to produce html
Last updated 5 years ago by aliem .
MIT · Original npm · Tarball · package.json
$ cnpm install @aliem/xmlpredator 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

1 Versions

  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |