1.0.0 • Published 9 years ago
crown-memory-store v1.0.0
crown-memory-store
Memory store for Crown.
Installation
$ npm install crown-memory-store --save
Usage
const MemoryStore = require('crown-memory-store');
let store = new MemoryStore();
store.get('some-key').then(function (value) {
// done
});
store.set('some-key', 'some-value').then(function () {
// done
});
store.destroy('some-key').then(function () {
// done
});
Tests
$ make test
License
MIT © vdemedes
1.0.0
9 years ago