Streaming XML node splitter
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example Add nodei.co badge and update README format Oct 24, 2015
test
.travis.yml Only support node 0.10.x for now Aug 20, 2013
README.md Add nodei.co badge and update README format Oct 24, 2015
index.js Emit chunks in proper order Aug 24, 2014
package.json 0.1.5 Oct 24, 2015

README.md

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.

Install

With npm do:

npm install 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