@aliothor/lru-cache
v0.0.1
Published
Simple “Least Recently Used” (LRU) cache
Downloads
4
Readme
lru-cache
This is my package description.
Usage
Install package:
# ✨ Auto-detect
npx nypm install lru-cache
# npm
npm install lru-cache
# yarn
yarn add lru-cache
# pnpm
pnpm install lru-cache
# bun
bun install lru-cache
Import:
ESM (Node.js, Bun)
import {} from "lru-cache";
CommonJS (Legacy Node.js)
const {} = require("lru-cache");
CDN (Deno, Bun and Browsers)
import {} from "https://esm.sh/lru-cache";
Development
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
corepack enable
- Install dependencies using
pnpm install
- Run interactive tests using
pnpm dev
License
Published under the MIT license. Made by community 💛
🤖 auto updated with automd