UNPKG

transitory

Version:

In-memory cache with high hit rates via LFU eviction. Supports time-based expiration, automatic loading and metrics.

46 lines (45 loc) 1.32 kB
{ "name": "transitory", "version": "2.2.0", "description": "In-memory cache with high hit rates via LFU eviction. Supports time-based expiration, automatic loading and metrics.", "license": "MIT", "repository": "aholstenson/transitory", "scripts": { "test": "jest", "ci": "npm run coverage && npm run lint", "coverage": "jest --coverage", "lint": "eslint --ext .ts,.tsx .", "build": "tsc --module commonjs --target es5 --outDir dist/cjs && tsc --module es6 --target es6 --outDir dist/esm", "prebuild": "rimraf dist", "prepublishOnly": "npm run build" }, "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", "engines": { "node": ">=8.0.0" }, "keywords": [ "cache", "caching", "lfu", "lru" ], "devDependencies": { "@types/jest": "^28.1.6", "@types/node": "^18.7.2", "@typescript-eslint/eslint-plugin": "^5.33.0", "@typescript-eslint/parser": "^5.33.0", "coveralls": "^3.1.1", "eslint": "^8.21.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsdoc": "^39.3.6", "eslint-plugin-tsdoc": "^0.2.16", "jest": "^28.1.3", "jest-config": "^28.1.3", "rimraf": "^3.0.2", "ts-jest": "^28.0.7", "typescript": "^4.7.4" }, "dependencies": {} }