Neo4j Data Loader
A simple Node module to quickly load smalller datasets into Neo4j for analysis in the their browser application.
npm install neo4j-loader
There are only three methods to the API (fromFile, setURL, addToQueue), so it is very easy to use. Basically, you can use it to load data from a JSON file or in the context of a larger script - sending each realtionship to the queue manually.
Loading from a JSON file
var fs = ;var loader = ;var inputFile = 'data/relationships.json';var dataURL = '';loader;
Add Each to Queue Manually
var fs = ;var loader = ;var inputFile = 'data/relationships.json';var dataURL = '';// Make sure you set the URL first.loader;fs;