UNPKG

runtime-memory-cache

Version:

A lightweight, high-performance in-memory cache for Node.js with TTL support, configurable eviction policies (FIFO/LRU), statistics tracking, and zero dependencies.

80 lines (79 loc) 2.02 kB
{ "name": "runtime-memory-cache", "version": "0.3.0", "description": "A lightweight, high-performance in-memory cache for Node.js with TTL support, configurable eviction policies (FIFO/LRU), statistics tracking, and zero dependencies.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "build": "tsc", "clean": "rimraf dist", "start": "node dist/index.js", "dev": "ts-node src/index.ts", "play": "ts-node src/playground.ts", "publishPackage": "npm run clean && npm run build && npm run test && npm publish" }, "author": "https://github.com/gsteja2307", "repository": { "type": "git", "url": "https://github.com/gsteja2307/runtime-memory-cache.git" }, "files": [ "dist", "README.md", "CHANGELOG.md", "LICENSE" ], "license": "MIT", "devDependencies": { "@types/jest": "^30.0.0", "@types/node": "^24.0.15", "jest": "^29.7.0", "rimraf": "^6.0.1", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "keywords": [ "cache", "memory", "in-memory", "ttl", "memory-cache", "nodejs-cache", "key-value-store", "memoization", "performance", "fast-cache", "data-store", "runtime-cache", "runtime-memory-cache", "node-cache", "lightweight-cache", "zero-dependency-cache", "fast-lookup", "ttl-cache", "memory-store", "key-value-cache", "nodejs-memory-cache", "in-memory-cache", "simple-cache", "nodejs-performance-cache", "runtime-performance-cache", "runtime-data-store", "runtime-key-value-store", "runtime-memoization", "runtime-fast-cache", "runtime-lightweight-cache", "runtime-zero-dependency-cache", "statistics-tracking", "cache-analytics", "fifo-eviction", "modular-cache", "typescript-cache", "cache-cleanup", "high-performance-cache" ] }