coatcheck

a split key/value store: stash values in one store and keys in another

coatcheck

a split key/value store: stash values in one store and keys in another

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 
 
$ npm install coatcheck

From package root:

$ npm install
$ npm test

MIT. (c) MMXIV jden jason@denizac.org. See LICENSE.md