@isaacs/ttlcache
Version:
The time-based use-recency-unaware cousin of [`lru-cache`](http://npm.im/lru-cache)
60 lines (59 loc) • 1.49 kB
JSON
{
"name": "@isaacs/ttlcache",
"version": "2.1.4",
"files": [
"dist"
],
"main": "./dist/commonjs/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"description": "The time-based use-recency-unaware cousin of [`lru-cache`](http://npm.im/lru-cache)",
"repository": {
"type": "git",
"url": "git+https://github.com/isaacs/ttlcache"
},
"author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",
"license": "BlueOak-1.0.0",
"scripts": {
"prepare": "tshy",
"pretest": "npm run prepare",
"presnap": "npm run prepare",
"test": "tap",
"snap": "tap",
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags",
"format": "prettier --write .",
"typedoc": "typedoc --tsconfig ./.tshy/esm.json ./src/*.ts"
},
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
},
"devDependencies": {
"@types/node": "^25.0.3",
"prettier": "^3.7.4",
"tap": "^21.5.0",
"tshy": "^3.1.0",
"typedoc": "^0.28.15"
},
"engines": {
"node": ">=12"
},
"type": "module",
"types": "./dist/commonjs/index.d.ts",
"module": "./dist/esm/index.js"
}