naptan-xml2json-parser

Takes a stream of NaPTAN xml data and transforms it to a JSON writable stream

npm install naptan-xml2json-parser
4 downloads in the last week
8 downloads in the last month

NaptanXMLToJsonStreamingParser

Takes a stream of NaPTAN xml data and transforms it to a JSON writable stream

Example

  var fs = require('fs');
  var naptanParse = require('./index.js');

  fs.createReadStream('./NaPTAN.xml').pipe(naptanParse()).pipe(fs.createWriteStream('./naptan.json'));
npm loves you