UNPKG

@joaquimserafim/ttl-lru-cache

Version:

A TypeScript cache implementation focused on time-based expiration with automatic cleanup and TTL support

49 lines 1.2 kB
{ "name": "@joaquimserafim/ttl-lru-cache", "version": "1.1.0", "description": "A TypeScript cache implementation focused on time-based expiration with automatic cleanup and TTL support", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "keywords": [ "cache", "ttl", "typescript", "expiration", "auto-purge", "memory-cache", "timed-eviction", "temporal", "millisecond", "iterable", "events", "time-based" ], "author": "@joaquimserafim", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/joaquimserafim/ttl-lru-cache.git" }, "devDependencies": { "@types/node": "^22.13.14", "@vitest/coverage-v8": "3.0.9", "husky": "^9.1.7", "prettier": "^3.5.3", "tsup": "^8.4.0", "typescript": "^5.8.2", "vitest": "^3.0.9" }, "scripts": { "build": "tsup", "test": "vitest", "coverage": "vitest run --coverage", "format": "prettier --write .", "format:ci": "prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown" } }