@flet/xml-nodes

Streaming XML node splitter

Stats

StarsIssuesVersionUpdatedCreatedSize
@flet/xml-nodes
311.0.04 years ago4 years agoMinified + gzip package size for @flet/xml-nodes in KB

Readme

@flet/xml-nodes

Build Status

NPM

Streaming XML node splitter

Have a large XML file and only interesting in one type of tag? xml-nodes accepts a tag name and returns a stream which emits each tag as a string.

NOTE: This package is meant to be a placeholder until this bugfix PR gets merged!

Install

With npm do:

npm install @flet/xml-nodes

Example

var request = require('request')
var xmlNodes = require('xml-nodes')

request('http://news.yahoo.com/rss/entertainment')
  .pipe(xmlNodes('item'))
  .pipe(process.stdout)

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.