Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 405 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 405 Bytes

@umami/redis-client

Redis client wrapper

Installation

npm install @umami/redis-client

Usage

Declare an environment variable for the connection:

REDIS_URL=redis://username:password@hostname:port

Example usage:

import redisClient from '@umami/redis-client';

await redisClient.set('key', 'hello');

const value = await redisClient.get('key');

License

MIT