@backscratch/adapter-redis
v0.0.7
Published
Redis adapter for backscratch.
Downloads
12
Readme
@backscratch/adapter-redis
Redis adapter for backscratch.
Usage:
import { createAdapter } from "@backscratch/adapter-redis";
import { createClient } from "redis";
const redis = createClient();
redis.connect().then(
() => console.log("redis connected"),
(e) => console.warn("redis failed: ", e)
);
const adapter = createAdapter(redis);
// adapter can now be passed to e.g. run()