objectbox
v0.3.0
Published
A dictionary to maintain objects with persistence.
Downloads
1,044
Readme
objectbox
A dictionary to maintain objects with persistence.
Documentation
Please visit the Wiki.
Overview
objectbox is a dictionary to maintain objects with persistence. objectbox will give you an unique numeric id when your object is added to the dictionary successfully. You can then use this id to find out the object from the box. objectbox uses NeDB datastore to permanently keep your objects, database is just there by default. If you don't like NeDB, objectbox allows you to use your own persistence facility as the datastore for the objects.
Installation
$ npm install objectbox --save
Usage
See Usage on the Wiki for details.
Here is an quick example of how to create a box.
var Objectbox = require('objectbox'),
boxPath = __dirname + '/database/box.db',
box = new Objectbox(boxPath, 1000);
License
Licensed under MIT.