Redis storage layer for Seneca framework
A Seneca.js data storage plugin
A storage engine that uses redis to persist data.
seneca-redis-store's source can be read in an annotated fashion by,
npm run annotate
The annotated source can be found locally at
If you're using this module, and need help, you can:
If you are new to Seneca in general, please take a look at senecajs.org. We have everything from tutorials to sample apps to help get you up and running quickly.
Supports Seneca versions 1.x - 3.x
To install, simply use npm. Remember you will need to install Seneca.js if you haven't already.
npm install senecanpm install seneca-redis-store
You also need redis running locally. Please visit redis for more info about how to install and run redis
var opts ='redis-store': 'redis://user:pass@host:port'
String Uri with Redis Options
var opts ='redis-store':uri: 'redis://user:pass@host:port'options: ...seneca;seneca
See the full list of available Redis options.
You don't use this module directly. It provides an underlying data storage engine for the Seneca entity API:
var entity = senecaentitysomeproperty = "something"entityanotherproperty = 100entityentityentityentity
The Senecajs org encourage open participation. If you feel you can help in any way, be it with documentation, examples, extra testing, or new features please get in touch.
To run tests, simply use npm:
npm run test
Copyright (c) 2016, Marius Ursache and other contributors. Licensed under MIT.