Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 node_modules
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 index.js
Octocat-spinner-32 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.