Skip to content

Black redis allows you to use redis in a very simple and easy way.

License

Notifications You must be signed in to change notification settings

NessWayne/black-redis

Repository files navigation

BlackRedis Node.js CI NPM version Install Size

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.

About

Black redis allows you to use redis in a very simple and easy way.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published