grafine
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

GraFine

npm version Build Status Coverage Status Gitter

A tiny nodejs/javascript in memory graph database - used as a core component into the php-reflection project.

Statistics :

Create 100000 items	in	645ms 	96Mb	155039/sec
0. Deleted 10000 items	in	64ms 	99Mb	156250/sec
0. Create 10000 items	in	100ms 	104Mb	100000/sec
1. Deleted 10000 items	in	53ms 	106Mb	188679/sec
1. Create 10000 items	in	26ms 	112Mb	384615/sec
Found 6012 items	in	9ms 	112Mb	668000/sec
Export 100000 items	in	113ms 	125Mb	884956/sec
Import 100000 items	in	559ms 	164Mb	178891/sec
Found 6012 items	in	7ms 	164Mb	858857/sec
---------------------------
Estimated size 7.6 Mb

API :

npm install grafine --save

And next use it :

var grafine = require('grafine');
var db = new grafine.graph();
var a = db.create();
var b = db.create();
a.set('friend', b);
a.index('name', 'john');
// etc ...

@todo

Readme

Keywords

Package Sidebar

Install

npm i grafine

Weekly Downloads

0

Version

2.0.1

License

BSD-3-Clause

Unpacked Size

312 kB

Total Files

39

Last publish

Collaborators

  • ichiriac