UNPKG

tiny-lru

Version:

Tiny LRU cache for Client or Server

66 lines (65 loc) 1.65 kB
{ "name": "tiny-lru", "description": "Tiny LRU cache for Client or Server", "version": "11.3.2", "homepage": "https://github.com/avoidwork/tiny-lru", "author": "Jason Mulligan <jason.mulligan@avoidwork.com>", "repository": { "type": "git", "url": "git://github.com/avoidwork/tiny-lru.git" }, "bugs": { "url": "https://github.com/avoidwork/tiny-lru/issues" }, "files": [ "dist/tiny-lru.cjs", "dist/tiny-lru.js", "types/*.d.ts" ], "license": "BSD-3-Clause", "source": "src/lru.js", "main": "dist/tiny-lru.cjs", "exports": { "types": "./types/lru.d.ts", "import": "./dist/tiny-lru.js", "require": "./dist/tiny-lru.cjs" }, "type": "module", "types": "types/lru.d.ts", "engines": { "node": ">=12" }, "engineStrict": true, "scripts": { "build": "npm run lint && npm run rollup && npm run mocha", "benchmark": "node benchmark.js", "changelog": "auto-changelog -p", "lint": "eslint --fix *.js src/*.js test/*.js", "mocha": "nyc mocha test/*.js", "rollup": "rollup --config", "test": "npm run lint && npm run mocha", "types": "npx -p typescript tsc src/lru.js --declaration --allowJs --emitDeclarationOnly --outDir types", "prepare": "husky" }, "devDependencies": { "@rollup/plugin-terser": "^0.4.4", "auto-changelog": "^2.5.0", "eslint": "^9.27.0", "husky": "^9.1.7", "mocha": "^11.3.0", "nyc": "^17.1.0", "precise": "^4.0.3", "rollup": "^4.40.2", "typescript": "^5.8.3" }, "keywords": [ "LRU", "cache", "tiny", "client", "server", "least", "recently", "used" ] }