Neo4j Schema
A dead-simple client for neo4j in Javascript.
Features
- Mongoose-like syntax, flat learning curve, bootstrap Javascript developers to access Neo4J in minutes.
- Resource pooling, automatically reuse connection resources to cut down network overhead.
- Support schema validation with built-in Joi-schema.
- Support ES6, ES7 syntax.
Documentation
Installation
npm install --save neo4j-schema
Example
const Neo4JDB = ;const Query = Neo4JDBQuery;const db = uri: 'bolt://localhost' username: 'neo4j' password: 'neo4j'; const PersonSchema = Neo4JDB;const Person = db; // CreatePerson ; // Matchlet query = db; // alternatively, use Person.match()query ; // SetPerson ; // Remove LabelPerson ; // DeletePerson ;