memory-store

Session store in memory

npm install memory-store
7 downloads in the last week
19 downloads in the last month

memory-store build status

Session store in memory

Example

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()

Installation

npm install memory-store

Tests

make test

Contributors

  • Raynos

MIT Licenced

npm loves you