This repository contains a node/TS wrapper which simplifies the process of communication with Redis.
Install a specific or the latest release in your package.json dependencies:
"@quizizz/redis": "github:quizizz/redis-wrapper#0.3.3"Import and use in your code as follows:
import Redis from "@quizizz/redis";
const eventEmitter = new EventEmitter();
const config = {...};
const redisClient = new Redis("redis", eventEmitter, config);We work based on releases. Steps:
- Branch out from
main- Label the branch accordingly -
chore/...,feat/...,fix/...
- Label the branch accordingly -
- Make a PR to
mainonce done & tested - Once approved and merged, create a new release from the
mainbranch following the SEMVER approach to versioning