Skip to content

timhudson/xml-nodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Streaming XML node splitter

Resources

Stars

Watchers

Forks

Packages

No packages published