0.1.5 • Published 2 years ago
black-redis v0.1.5
BlackRedis
Black redis allows you to use redis in a very simple and easy way.
Npm
npm install black-redis
Usage
Basic Example
import { RedisService } from "black-redis";
(async () => {
const client = RedisService();
client.on('error', (err) => console.log('Redis Client Error', err));
await client.set('key', 'value', 'db-name (optional)');
const value = await client.get('key');
})();
License
This repository is licensed under the "MIT" license. See LICENSE.