JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 64
  • Score
    100M100P100Q76717F
  • License MIT

simple xml reader and parser

Package Exports

  • xml2

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (xml2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

xml2 xml2

simple xml reader and parser

Installation

$ npm install xml2

Example

const XML = require('xml2');

const xml = new XML();

xml.on('open-tag', name => {
  console.log('tag name: ', name);
});

fs.createReadStream('/tmp/demo.xml').pipe(xml)

Contributing

  • Fork this Repo first
  • Clone your Repo
  • Install dependencies by $ npm install
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Publish your local branch, Open a pull request
  • Enjoy hacking <3

MIT

This work is licensed under the MIT license.