Berlin & Brandenburg public transport as JSON graph.
npm install vbb-graphBerlin & Brandenburg public transport as JSON graph. Generated using generate-vbb-graph.


!ISC-licensed

``shell`
npm install vbb-graph
The npm package contains two files nodes.ndjson & edges.ndjson. As the readme of generate-vbb-graph explains:
> This tool generates data in the JSON Graph Format. Note that instead of storing all nodes and edges in one JSON file, it will create nodes.ndjson and edges.ndjson. These are ndjson-encoded lists of all nodes and edges, respectively.
`js
const ndjson = require('ndjson')
fs.createReadStream(require.resolve('vbb-graph/nodes.ndjson'))
.pipe(ndjson.parse())
.on('error', console.error)
.on('data', console.log)
`
If you have a question or have difficulties using vbb-graph`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.