func-cache
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "func-cache", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "TypeScript library for caching static functions", |
@@ -67,17 +67,2 @@ # Fun cache | ||
``` | ||
# How to use with Redis/Upstash: | ||
```ts | ||
import redisCacher from "func-cache/tools/redis"; | ||
import upstashCacher from "func-cache/tools/upstash"; | ||
// to use redis or upstash, you need to pass the client in the options (see the examples below) | ||
import redis from "redis"; | ||
import upstash from "upstash"; | ||
const redisClient = redis.createClient(); | ||
const upstashClient = upstash.createClient(); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74739
67