Skip to content

hedywings/objectbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

objectbox

A dictionary to maintain objects with persistence.

NPM

Travis branch npm npm


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.

About

An object storage with persistence

Resources

License

Stars

Watchers

Forks

Packages

No packages published