Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

coatcheck

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coatcheck

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

latest
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

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 jason@denizac.org

license

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

FAQs

Package last updated on 03 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts