UNPKG

cacheable

Version:

High Performance Layer 1 / Layer 2 Caching with Keyv Storage

88 lines 2.22 kB
{ "name": "cacheable", "version": "2.3.1", "description": "High Performance Layer 1 / Layer 2 Caching with Keyv Storage", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } } }, "repository": { "type": "git", "url": "git+https://github.com/jaredwray/cacheable.git", "directory": "packages/cacheable" }, "author": "Jared Wray <me@jaredwray.com>", "license": "MIT", "private": false, "devDependencies": { "@biomejs/biome": "^2.3.8", "@faker-js/faker": "^10.1.0", "@keyv/redis": "^5.1.5", "@keyv/valkey": "^1.0.11", "@qified/redis": "^0.5.3", "@types/node": "^25.0.2", "@vitest/coverage-v8": "^4.0.15", "lru-cache": "^11.2.4", "rimraf": "^6.1.2", "tsup": "^8.5.1", "typescript": "^5.9.3", "vitest": "^4.0.15" }, "dependencies": { "hookified": "^1.14.0", "keyv": "^5.5.5", "qified": "^0.5.3", "@cacheable/memory": "^2.0.6", "@cacheable/utils": "^2.3.2" }, "keywords": [ "cacheable", "high performance", "layer 1 caching", "layer 2 caching", "distributed caching", "Keyv storage engine", "memory caching", "LRU cache", "expiration", "CacheableMemory", "offline support", "distributed sync", "secondary store", "primary store", "non-blocking operations", "cache statistics", "layered caching", "fault tolerant", "scalable cache", "in-memory cache", "distributed cache", "lruSize", "lru", "multi-tier cache" ], "files": [ "dist", "LICENSE" ], "scripts": { "build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean", "prepublish": "pnpm build", "lint": "biome check --write --error-on-warnings", "test": "pnpm lint && vitest run --coverage", "test:ci": "biome check --error-on-warnings && vitest run --coverage", "clean": "rimraf ./dist ./coverage ./node_modules" } }