@zf/sieve
v1.0.0
Published
sieve: a simple yet efficient cache
Downloads
3
Readme
Sieve
a simple yet efficient cache, original introduction
Usage
install via npm: npm install @zf/sieve
import { SieveCache } from '@zf/sieve'
const cache = new SieveCache<string>(3 /* capacity */)
cache.setItem('key', 'value')
cache.getItem('key')
Dev
deno test --allow-all -- --update
deno run --allow-all build_npm.ts 1.0.0