1.0.0 • Published 9 years ago

crown-memory-store v1.0.0

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

crown-memory-store Circle CI

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

Circle CI

$ make test

License

MIT © vdemedes