UNPKG

@fastify/redis

Version:

Plugin to share a common Redis connection across Fastify.

87 lines (86 loc) 2.01 kB
{ "name": "@fastify/redis", "version": "7.0.2", "description": "Plugin to share a common Redis connection across Fastify.", "main": "index.js", "type": "commonjs", "types": "types/index.d.ts", "scripts": { "lint": "eslint", "lint:fix": "eslint --fix", "redis": "docker run -p 6379:6379 --rm redis", "valkey": "docker run -p 6379:6379 --rm valkey/valkey:7.2", "test": "npm run unit && npm run typescript", "typescript": "tsd", "unit": "c8 --100 node --test" }, "repository": { "type": "git", "url": "git+https://github.com/fastify/fastify-redis.git" }, "keywords": [ "fastify", "redis", "database", "speed", "cache", "ioredis" ], "author": "Tomas Della Vedova - @delvedor (http://delved.org)", "contributors": [ { "name": "Matteo Collina", "email": "hello@matteocollina.com" }, { "name": "Manuel Spigolon", "email": "behemoth89@gmail.com" }, { "name": "James Sumners", "url": "https://james.sumners.info" }, { "name": "Frazer Smith", "email": "frazer.dev@icloud.com", "url": "https://github.com/fdawgs" } ], "license": "MIT", "bugs": { "url": "https://github.com/fastify/fastify-redis/issues" }, "homepage": "https://github.com/fastify/fastify-redis#readme", "funding": [ { "type": "github", "url": "https://github.com/sponsors/fastify" }, { "type": "opencollective", "url": "https://opencollective.com/fastify" } ], "devDependencies": { "@fastify/pre-commit": "^2.1.0", "@types/node": "^22.0.0", "c8": "^10.1.3", "eslint": "^9.17.0", "fastify": "^5.0.0", "neostandard": "^0.12.0", "proxyquire": "^2.1.3", "tsd": "^0.31.0", "why-is-node-running": "^2.2.2" }, "dependencies": { "fastify-plugin": "^5.0.0", "ioredis": "^5.3.2" }, "publishConfig": { "access": "public" }, "pre-commit": [ "lint", "test" ] }