0.1.1 • Published 10 years ago

coatcheck v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

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

0.1.1

10 years ago

0.1.0

10 years ago