JSPM

@flet/xml-nodes

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

Streaming XML node splitter

Package Exports

  • @flet/xml-nodes

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 (@flet/xml-nodes) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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