graphson
GraphSON file format parsing library using Node.js Streams
Install
npm install graphson --save
Example
Reading a graphson file in Node.js
var fs = ;var GraphSON = ; // Create a readable stream for a given filevar stream = fs; // Start parsing. Will emit 'vertex', 'edge' and 'element' events.var g = GraphSON; g; g; g; g;
Performance
This library parses approximately 100 000 vertices per second on my laptop (using 4 properties vertices stored in a ~10.8 Mb file).