Table of Contents
Store Module
Javascript redis key value store.
Implements an in-memory key value store and mimics a subset of the redis commands.
The typical use case is a server application that runs as a single process, distributed and clustered.
When running as a single process it does not make sense to store information externally, this library allows seamlessly switching between internal process memory and external redis memory storage.
Component of the jsr library.
Install
npm i jsr-store
API
var Store = store = db = storedatabases0; try db db db;catche // handle error
See the tests for more examples.
Developer
Test
Tests are not included in the package, clone the repository:
npm test
Documentation
To generate all documentation:
npm run docs
Readme
To build the readme file from the partial definitions (requires mdp):
npm run readme
License
Everything is MIT. Read the license if you feel inclined.
Generated by mdp(1).