1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- {
- "name": "lru.min",
- "version": "1.1.1",
- "description": "🔥 An extremely fast and efficient LRU cache for JavaScript with high compatibility (including Browsers) — 6.8KB.",
- "main": "./lib/index.js",
- "module": "./lib/index.mjs",
- "types": "./lib/index.d.ts",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/wellwelwel/lru.min.git"
- },
- "bugs": {
- "url": "https://github.com/wellwelwel/lru.min/issues"
- },
- "author": "https://github.com/wellwelwel",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wellwelwel"
- },
- "files": [
- "browser",
- "lib"
- ],
- "engines": {
- "node": ">=8.0.0",
- "bun": ">=1.0.0",
- "deno": ">=1.30.0"
- },
- "scripts": {
- "benchmark:esm": "cd benchmark && npm ci && node index.mjs",
- "benchmark:cjs": "cd benchmark && npm ci && node index.cjs",
- "prebuild": "rm -rf ./browser ./lib",
- "build:browser": "tsx tools/browserfy.ts",
- "build:esm": "esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm",
- "build": "tsc && npm run build:esm && npm run build:browser",
- "test:node": "poku --node -p",
- "test:bun": "poku --bun -p",
- "test:deno": "poku --deno -p",
- "test:coverage": "mcr --import tsx --config mcr.config.ts npm run test:node",
- "lint": "npx @biomejs/biome lint && prettier --check .",
- "lint:fix": "npx @biomejs/biome lint --write && prettier --write .github/workflows/*.yml .",
- "update": "pu minor && npm i && npm audit fix",
- "postupdate": "npm run lint:fix",
- "size": "ls -lh lib/index.mjs | awk '{print $5}'"
- },
- "devDependencies": {
- "@babel/core": "^7.25.2",
- "@babel/preset-env": "^7.25.4",
- "@biomejs/biome": "^1.9.2",
- "@types/babel__core": "^7.20.5",
- "@types/node": "^22.5.5",
- "esbuild": "^0.23.1",
- "monocart-coverage-reports": "^2.10.9",
- "packages-update": "^2.0.0",
- "poku": "^2.7.0",
- "prettier": "^3.3.3",
- "terser": "^5.33.0",
- "tsx": "^4.19.1",
- "typescript": "^5.6.2"
- },
- "exports": {
- ".": {
- "import": {
- "types": "./lib/index.d.ts",
- "default": "./lib/index.mjs"
- },
- "require": {
- "types": "./lib/index.d.ts",
- "default": "./lib/index.js"
- }
- }
- },
- "keywords": [
- "lru",
- "cache",
- "caching",
- "hash",
- "node",
- "nodejs",
- "bun",
- "deno",
- "typescript",
- "browser",
- "fast",
- "lru-cache",
- "quick-lru"
- ]
- }
|