0.6.0 • Published 9 years ago

aronnax-store v0.6.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Build Status

store

A simple object hash store.

Stores any object you put in. Will use an id or classId property on the object as the key if it exists, otherwise it will use es6 maps to store the object.

Use

var Store = require('aronnax-store');

var store = Object.create(Store);

store.put({s: 1});
store.put({id: 5});

var s = store.get({s: 1});
var t = store.get({id: 5});

Develop

Written in es6.

Testing To have the test script watch changed files and run continually use the testem command.

testem

Or run the tests and exit

npm run test

Compile down to es5, or as a browserify bundle.

npm run compile
npm run compile-bundle
0.6.0

9 years ago

0.5.4

9 years ago

0.5.3

9 years ago

0.5.2

9 years ago

0.5.1

9 years ago

0.5.0

9 years ago

0.4.9

9 years ago

0.4.8

9 years ago

0.4.7

9 years ago

0.4.6

9 years ago

0.4.4

9 years ago

0.4.3

9 years ago