Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/antitim/starbot-store-redis

Redis store for Starbot
https://github.com/antitim/starbot-store-redis

starbot starbot-store

Last synced: about 2 months ago
JSON representation

Redis store for Starbot

Awesome Lists containing this project

README

        

# starbot-store-redis [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]

## About

Store module for [StarBot](https://github.com/antitim/starbot)

## Installation

```sh
$ npm install --save starbot-store-redis
```

## Options

Using [redis](https://www.npmjs.com/package/redis). All options are proxied to `redis.createClient`.

```js
const StoreRedis = require('starbot-store-redis');

const store = new StoreRedis({
host: 'localhost', // default 'localhost'
port: 6379, // default 6379
user: 'user',
password: 'password',
db: 0, // default 0
prefix: 'botName',
});
```

## License

MIT © [antitim](http://vk.com/antitim)

[npm-image]: https://badge.fury.io/js/starbot-store-redis.svg
[npm-url]: https://npmjs.org/package/starbot-store-redis
[travis-image]: https://travis-ci.org/antitim/starbot-store-redis.svg?branch=master
[travis-url]: https://travis-ci.org/antitim/starbot-store-redis