node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป

memory-store

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