2.1.1 • Published 9 years ago

dumbstore v2.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
9 years ago

dumbstore: a quick and easy way to store data (strings for now) and retrieve them across app resets. usage:

var myStringStore = dumbStores.getStore('StringStore', 'myStringStore');

myStringStore.subscribe( console.log.bind( console, 'myStringStore contents:' ) );

myStringStore.add( 'foo' );

//myStringStore contents: ['foo']

var myKeyValueStore = dumbStores.getStore('KeyValueStore', 'myKeyValueStore');

myKeyValueStore.subscribe( console.log.bind( console, 'myKeyValueStore contents:' ) );

myKeyValueStore.add( 'foo', 'bar' );

//myKeyValueStore contents: { foo: 'bar' }
2.1.1

9 years ago

2.1.0

9 years ago

2.0.0

9 years ago

1.0.0

9 years ago