@umami/redis-client
v0.21.0
Published
Redis client wrapper
Downloads
3,583
Readme
@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