node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

memory-store

Session store in memory

memory-store

Session store in memory

var store = require("memory-store")
    , assert = require("assert")

store.set("foo", "bar")
assert.equal(store.get("foo"), "bar")
store.delete("foo")
assert.equal(store.get("foo"), null)

var otherStore = store.createStore()

npm install memory-store

make test

  • Raynos