Redis adapter for HA-store
HA-store-redis is a plugin to replace the default in-memory storage in ha-store.
Installing
npm install ha-store-redis
Usage
Store
const store = require('ha-store');
const redisStore = require('ha-store-redis')('//0.0.0.0:6379');
const itemStore = store({
resolver: getItems,
store: redisStore,
});
Testing
npm test
Contribute
Please do! This is an open source project - if you see something that you want, open an issue or file a pull request.
If you have a major change, it would be better to open an issue first so that we can talk about it.
I am always looking for more maintainers, as well. Get involved.
License
Apache 2.0 (c) 2018 Frederic Charette