coatcheck

0.1.1 • Public • Published

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

license

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

/coatcheck/

    Package Sidebar

    Install

    npm i coatcheck

    Weekly Downloads

    3

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators