xml-nodes

Streaming XML node splitter

npm install xml-nodes
6 downloads in the last month

xml-nodes

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.

build status

install

With npm do:

npm install xml-nodes

example

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

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

license

MIT

npm loves you