NDK cache adapter for redis.
This cache is mostly a skeleton; the cache hit logic is very basic and only checks if
a query is using precisely kinds
and authors
filtering.
npm add @nostr-dev-kit/ndk-cache-redis
import NDKRedisCacheAdapter from "@nostr-dev-kit/ndk-cache-redis";
const cacheAdapter = new NDKRedisCacheAdapter();
const ndk = new NDK({ cacheAdapter });
MIT