ha-store-redis

A Redis adapter for ha-store


Keywords
ha-store, hacktoberfest, redis
License
Apache-2.0
Install
npm install ha-store-redis@2.0.1

Documentation

Redis adapter for HA-store

Why not redis ?



ha-store-redis Node Build Status Dependencies Status


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