UNPKG

cachly

Version:

Type-safe, production-ready in-memory cache system for Node.js and TypeScript with advanced features.

71 lines (70 loc) 1.67 kB
{ "name": "cachly", "version": "1.0.1", "description": "Type-safe, production-ready in-memory cache system for Node.js and TypeScript with advanced features.", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "cachly": "dist/cli.js" }, "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "scripts": { "build": "tsc", "dev": "tsc --watch", "test": "jest", "test:watch": "jest --watch", "lint": "eslint src/**/*.ts", "format": "prettier --write src/**/*.ts", "clean": "rm -rf dist", "prepublishOnly": "npm run clean && npm run build", "cli": "node dist/cli.js" }, "keywords": [ "cache", "memory", "typescript", "dependency-tracking", "invalidation", "ttl", "stale-while-revalidate", "tags", "groups", "bulk-operations", "decorators", "middleware", "cli" ], "author": "Viraj Bhartiya", "license": "MIT", "devDependencies": { "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "jest": "^29.5.0", "prettier": "^3.0.0", "ts-jest": "^29.1.0", "typescript": "^5.0.0" }, "dependencies": { "redis": "^4.6.0" }, "engines": { "node": ">=16.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/virajbhartiya/cachly.git" }, "bugs": { "url": "https://github.com/virajbhartiya/cachly/issues" }, "homepage": "https://github.com/virajbhartiya/cachly#readme" }