@openally/timestore
Version:
An abstract class designed to manage the Time To Live (TTL) of a given list of identifiers.
34 lines (33 loc) • 880 B
JSON
{
"name": "@openally/timestore",
"version": "2.0.0",
"description": "An abstract class designed to manage the Time To Live (TTL) of a given list of identifiers.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"prepublishOnly": "npm run build",
"test": "glob -c \"tsx --test\" \"./test/**/*.spec.ts\"",
"coverage": "c8 --all --src ./src -r html npm test",
"lint": "cross-env eslint src/**/*.ts"
},
"files": [
"dist"
],
"keywords": [
"time",
"store",
"timer",
"timeout"
],
"author": "GENTILHOMME Thomas <gentilhomme.thomas@gmail.com>",
"license": "MIT"
}