crown-memory-store

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i crown-memory-store

Weekly Downloads

5

Version

1.0.0

License

MIT

Last publish

Collaborators

  • vdemedes