coatcheck
v0.1.1
Published
a split key/value store: stash values in one store and keys in another
Downloads
4
Readme
coatcheck
a split key/value store: stash values in one store and keys in another
usage
var coatcheck = require('coatcheck')
coatcheck('my key', req, res)
.get()
.then(function (val) {
console.log('i got the value from `my key`', val)
})
coatcheck('my key', req, res)
.set('a value')
coatcheck('my key', req, res)
.pull()
// returns the value and unsets it from the backing store
installation
$ npm install coatcheck
running the tests
From package root:
$ npm install
$ npm test
contributors
- jden [email protected]
license
MIT. (c) MMXIV jden [email protected]. See LICENSE.md