Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glayzzle/grafine
:lollipop: A tiny nodejs/javascript in memory graph database
https://github.com/glayzzle/grafine
database graph-database memory-graph-database nosql nosql-database
Last synced: about 1 month ago
JSON representation
:lollipop: A tiny nodejs/javascript in memory graph database
- Host: GitHub
- URL: https://github.com/glayzzle/grafine
- Owner: glayzzle
- License: bsd-3-clause
- Created: 2017-02-06T19:35:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-08T23:46:06.000Z (over 5 years ago)
- Last Synced: 2024-10-02T08:14:22.726Z (3 months ago)
- Topics: database, graph-database, memory-graph-database, nosql, nosql-database
- Language: JavaScript
- Size: 74.2 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# GraFine
[![npm version](https://badge.fury.io/js/grafine.svg)](https://www.npmjs.com/package/grafine)
[![Build Status](https://travis-ci.org/glayzzle/grafine.svg?branch=master)](https://travis-ci.org/glayzzle/grafine)
[![Coverage Status](https://coveralls.io/repos/github/glayzzle/grafine/badge.svg?branch=master)](https://coveralls.io/github/glayzzle/grafine?branch=master)
[![Gitter](https://img.shields.io/badge/GITTER-join%20chat-green.svg)](https://gitter.im/glayzzle/Lobby)A tiny nodejs/javascript in memory graph database - used as a core component into
the [php-reflection](https://github.com/glayzzle/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 :
```js
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