Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Takes a stream of NaPTAN xml data and transforms it to a JSON writable stream
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
node_modules/sax
.gitignore
README.md
index.js
package.json

README.md

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'));
Something went wrong with that request. Please try again.