UNPKG

node-cache-redis

Version:

Simplistic node redis cache ready can scale with generic-pool support

89 lines (88 loc) 2.71 kB
{ "name": "node-cache-redis", "version": "6.4.2", "description": "Simplistic node redis cache ready can scale with generic-pool support", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "repository": { "type": "git", "url": "git+ssh://git@github.com/pasupulaphani/node-cache-redis.git" }, "engines": { "node": ">=4" }, "bugs": { "url": "https://github.com/pasupulaphani/node-cache-redis/issues" }, "homepage": "https://github.com/pasupulaphani/node-cache-redis#readme", "author": "pasupulaphani@gmail.com", "contributors": [ { "name": "Ron Yang", "email": "yrong1997@gmail.com" } ], "license": "MIT", "keywords": [ "redis", "cache", "store", "connection", "pool", "node-pool", "generic-pool", "connection pooling", "scalable", "semaphore", "Serialization" ], "scripts": { "lint": "eslint -c .eslintrc.js --ext .ts src", "build": "npm run build:clean && tsc", "build:watch": "tsc --watch", "build:clean": "rimraf dist", "test": "jest --runInBand --detectOpenHandles --forceExit --coverage", "test:watch": "jest --runInBand --detectOpenHandles --forceExit --watch", "coveralls": "coveralls < coverage/lcov.info", "docs": "npm run docs:clean && typedoc --readme none --theme minimal --out docs/ src/redisCache.ts && touch ./docs/.nojekyll", "docs:clean": "rimraf docs", "prepublish": "npm run docs && npm run build", "publish:push": "git push origin master --follow-tags && npm publish", "publish:major": "npm version major && npm run publish:push", "publish:minor": "npm version minor && npm run publish:push", "publish:patch": "npm version patch && npm run publish:push" }, "dependencies": { "debug": "^4.3.1", "generic-pool": "^3.7.8", "is-json": "^2.0.1", "redis": "^3.1.2", "retry-as-promised": "^3.2.0" }, "devDependencies": { "@babel/preset-typescript": "^7.12.13", "@types/debug": "^4.1.5", "@types/generic-pool": "^3.1.9", "@types/jest": "^26.0.20", "@types/node": "^14.14.25", "@types/redis": "^2.8.28", "@typescript-eslint/eslint-plugin": "^4.14.2", "@typescript-eslint/eslint-plugin-tslint": "^4.14.2", "@typescript-eslint/parser": "^4.14.2", "coveralls": "^3.1.0", "eslint": "^7.19.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-config-airbnb-typescript": "^12.3.1", "eslint-config-prettier": "^7.2.0", "eslint-plugin-import": "^2.22.1", "jest": "^26.6.3", "prettier": "^2.2.1", "rimraf": "^3.0.2", "ts-jest": "^26.5.0", "typedoc": "^0.20.32", "typescript": "^4.1.3" } }