Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/antitim/starbot-store-redis
- Owner: antitim
- Created: 2017-02-27T21:10:08.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-08-06T22:51:37.000Z (over 2 years ago)
- Last Synced: 2024-12-02T12:54:58.941Z (about 2 months ago)
- Topics: starbot, starbot-store
- Language: JavaScript
- Homepage:
- Size: 67.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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