@compass/cache
Usage
import cache from "@compass/cache";API Reference
cache.get(key: string)
cache.get(key: string)cache.set(key: string, value: any, ttl: number = 60 * 60)
cache.set(key: string, value: any, ttl: number = 60 * 60)Examples
Last updated