{"_id":"@liaoliaots/nestjs-redis-health","_rev":"5-80b0e3ab1d4e2f3081425aabe331d629","name":"@liaoliaots/nestjs-redis-health","dist-tags":{"next":"9.0.0-next.1","latest":"9.0.4"},"versions":{"9.0.0-next.1":{"name":"@liaoliaots/nestjs-redis-health","version":"9.0.0-next.1","description":"Redis(ioredis) health checks for Nest framework (node.js).","author":{"name":"LiaoLiao","email":"yxiaosong002@gmail.com"},"main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","keywords":["redis","ioredis","cluster","nestjs","nest","nodejs","node","typescript","javascript","health","healthcheck","healthchecks"],"scripts":{"prebuild":"rimraf dist","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","lint":"concurrently \"npm:lint:es\" \"npm:lint:tsc\"","lint:es":"eslint \"{lib,test}/**/*.ts\"","lint:tsc":"tsc -p tsconfig.json --noEmit","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:e2e":"jest --config ./test/jest-e2e.json","test:clear":"jest --clearCache","make-badges":"istanbul-badges-readme --style=\"flat-square\"","madge":"madge --image docs/latest/dependency-graph.svg dist/index.js health/index.js","publish:next":"npm publish --tag next","publish:rc":"npm publish --tag rc"},"dependencies":{"tslib":"2.4.0"},"devDependencies":{"@liaoliaots/nestjs-redis":"workspace:*"},"peerDependencies":{"@nestjs/common":"^9.0.0","@nestjs/core":"^9.0.0","@nestjs/terminus":"^9.0.0","ioredis":"^5.0.0"},"engines":{"node":">=12.22.0"},"jest":{"moduleFileExtensions":["js","json","ts"],"rootDir":"lib","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"collectCoverageFrom":["**/*.(t|j)s"],"coverageDirectory":"../coverage","testEnvironment":"node","verbose":true,"coveragePathIgnorePatterns":["/node_modules/","/interfaces/"],"moduleNameMapper":{"@/(.*)":["<rootDir>/$1"]},"coverageReporters":["json-summary"]},"publishConfig":{"access":"public"},"homepage":"https://github.com/liaoliaots/nestjs-redis#readme","repository":{"type":"git","url":"git+https://github.com/liaoliaots/nestjs-redis.git"},"bugs":{"url":"https://github.com/liaoliaots/nestjs-redis/issues"},"gitHead":"25f0a0a31565fa98848091836e89c515dbbfee33","_id":"@liaoliaots/nestjs-redis-health@9.0.0-next.1","_nodeVersion":"16.16.0","_npmVersion":"8.13.2","dist":{"integrity":"sha512-s6fXMcYWs3AIKXFl7YTYk0BNskWt3gQwfJtNAFrO6oxpnuwJWl/dfDM6Bl45GGeEQvU7JV0Sqx7dzO6RhDNPoA==","shasum":"377fae43ef2cc830a7824169e096bdb1e291fdfc","tarball":"https://registry.npmjs.org/@liaoliaots/nestjs-redis-health/-/nestjs-redis-health-9.0.0-next.1.tgz","fileCount":20,"unpackedSize":18961,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6SYo2Dov8DiUs+ZoYqw30f6IXJCvbpYp2ICQLPMy7VgIhAMRkcsej7LKX4n4wwP4PBS3W3P6a7NGquw6s/N9cvOw4"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizZmVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoahhAAlTiXtSVM6gYWPycJttomccmOtyicaTF1tDu6pAPVz0KpT6bU\r\nPzWRjdjRymNvHzZVyKXSMHMx3nc6IAFJkTjv1Z71ieU6SKK88mTtrETK1v4N\r\n0EtIccKhxJE5pTk189f9UO+dk3gTUGxf0Ny5IlNVaM0ZjeW/OAvOvoWcPCM3\r\n1gIBza73w6FrwiF2giJ6VQtO/yqofnrSc6GyJaA6TuVQz86kSiLV7QN8D5AE\r\na3jNtH2w5w1eAuPBfpaNBduHFphBMRXJedOY1+JIw9ydaSxuyQ2f5oirjZm0\r\nYQwCK1J8d5N0YPWa9DEPAEqQJqfl6BE6Bx/R/NQf5OwO/VjFazmK26LpSVPf\r\nyx+ctry3mdDyBSopG6xaxXt3tXmHDWSvrxc6FzqLbKrarjOEMbO7azYJ4Mtn\r\nDFyNyIYSlcYtJKNkzcw7Mle6OJSfPg0xA6S7f1GP+0U4PbBJKe2atDzpJY9S\r\n2O4j4QqlN0vNnpXEQF5GW7tmK1H6aiYpYCdmq3Xw2CsMGXv8HfIlOXfspVXT\r\n3QE3uR2jMZEQqLqfzdz4+cxHgJZ7E8atrGax7xiRJpXniYqzaKnpNgYPs2dJ\r\nFrMxFhOyk0udp+wBhC1RHmI1UrvKcOZns0IsW3PWxLz5UY8Yn/MoC3C3xHvQ\r\nrXmvlCKbp2luqZ4UYYGA92/IiJfIMeXKcEw=\r\n=0w4g\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liaoliaots","email":"yxiaosong002@gmail.com"},"directories":{},"maintainers":[{"name":"liaoliaots","email":"yxiaosong002@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-redis-health_9.0.0-next.1_1657641365036_0.5046516732753628"},"_hasShrinkwrap":false},"9.0.0":{"name":"@liaoliaots/nestjs-redis-health","version":"9.0.0","description":"Redis(ioredis) health checks module for Nest framework (node.js).","author":{"name":"LiaoLiao","email":"yxiaosong002@gmail.com"},"main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","keywords":["redis","ioredis","cluster","nestjs","nest","nodejs","node","typescript","javascript","health","healthcheck","healthchecks","diagnostics"],"dependencies":{"tslib":"2.4.0"},"devDependencies":{"@liaoliaots/nestjs-redis":"9.0.0"},"peerDependencies":{"@nestjs/common":"^9.0.0","@nestjs/core":"^9.0.0","@nestjs/terminus":"^9.0.0","ioredis":"^5.0.0"},"engines":{"node":">=12.22.0"},"jest":{"moduleFileExtensions":["js","json","ts"],"rootDir":"lib","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"collectCoverageFrom":["**/*.(t|j)s"],"coverageDirectory":"../coverage","testEnvironment":"node","verbose":true,"coveragePathIgnorePatterns":["/node_modules/","/interfaces/"],"moduleNameMapper":{"@health/(.*)":["<rootDir>/../lib/$1"]},"setupFilesAfterEnv":["jest-extended/all"],"coverageReporters":["json-summary"]},"publishConfig":{"access":"public"},"homepage":"https://github.com/liaoliaots/nestjs-redis#readme","repository":{"type":"git","url":"git+https://github.com/liaoliaots/nestjs-redis.git"},"bugs":{"url":"https://github.com/liaoliaots/nestjs-redis/issues"},"scripts":{"prebuild":"rimraf dist","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","lint":"concurrently \"npm:lint:es\" \"npm:lint:tsc\"","lint:es":"eslint \"{lib,test}/**/*.ts\"","lint:tsc":"tsc -p tsconfig.json --noEmit","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:e2e":"jest --config ./test/jest-e2e.json","test:clear":"jest --clearCache","make-badges":"istanbul-badges-readme --coverageDir=\"./coverage\" --readmeDir=\"./\" --style=\"flat-square\" --logo=\"jest\"","madge":"madge --image ./dependency-graph.svg dist/index.js","publish:next":"npm publish --tag next","publish:rc":"npm publish --tag rc"},"_id":"@liaoliaots/nestjs-redis-health@9.0.0","_integrity":"sha512-8gAB0fkz7/7bT+GpTl6rne8j/h55ipDv1TSjz5yO2AyUzC/IoA6BgXG4WOSjmrlJYJrCQJHRlS9Mn2fnjrDx0g==","_resolved":"/tmp/667ae19e91ba3caa7551ac63b698dc28/liaoliaots-nestjs-redis-health-9.0.0.tgz","_from":"file:liaoliaots-nestjs-redis-health-9.0.0.tgz","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-8gAB0fkz7/7bT+GpTl6rne8j/h55ipDv1TSjz5yO2AyUzC/IoA6BgXG4WOSjmrlJYJrCQJHRlS9Mn2fnjrDx0g==","shasum":"9f737998e99cc5b5ee46ee497421ade52f46d55d","tarball":"https://registry.npmjs.org/@liaoliaots/nestjs-redis-health/-/nestjs-redis-health-9.0.0.tgz","fileCount":21,"unpackedSize":21056,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtMjbAUmr769nXVu0Ec/Js8FqPh0H+T505KX2nnkcKgQIgJmwkcZR7FRA1CQE7wNshmybDI1Jjc4sYUv81aMlgM6w="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1CGpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKtQ//awRTtV0Uf/e6FqTQMgJXRqg9/FuADDwKR3nCDu2jXCzgIo5/\r\nDn8RUp5BhesiqAYwZIDvGqkdNv38rYMNAljx/qdWVbD0FTQxtQg/n9I4hrbG\r\ntSbLTmFy9kI2dscmVJDUsOOvXBB2GuwIY3Cw+R2qOuNiXqyc9Ofyaenk3YOh\r\n8IKN4+0oAgKfylQ7xzlrGPaFPsoPfeNBx/td/gfcXUoa0YfrTvjYZWEuwm6l\r\nvxRD6aEJIxCwsfaZrR2u0HWnwep2eAAb5fVJoteS8v5zcvg26DtYlWA5xkiQ\r\n3wZbPEnHmbL2QYTttlAKnz6rstQMFvyRl+qmIJq0h7AYoFpgcGzm85LlRsPm\r\nkt7l2boBDmBq5PWrAZ6UvWK5niA3AH7m5DCDBJe0wa9gIX+6wen8xRkk02DL\r\naRSAhNBIDCBPLcTVToIrWk/SPsm1fYHQbk4MmvIJAtD1F2Wlfy1jvvZQB742\r\n0UQED+ZVyc00YOlK9pRKWR1OxUxewOlU/aIHMeoBMydZ4j+eqN7giboNX52J\r\ng073yV3Y4Gly4u1goUwMtEzPhWvwmWK/68qnjmclxObCeAE2wu8qE2vC7UdY\r\nHcMdVLU2ubt3hf3mDbmFjmeWewQ7ZPGu4daHN/Zaqd1faOCAJ4xuxQJ0QWYm\r\nZoo1/jG0Ya2wu6xPig6tJwKEF0t2cdPkAls=\r\n=2J9/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liaoliaots","email":"yxiaosong002@gmail.com"},"directories":{},"maintainers":[{"name":"liaoliaots","email":"yxiaosong002@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-redis-health_9.0.0_1658069417279_0.8820904812874995"},"_hasShrinkwrap":false},"9.0.1":{"name":"@liaoliaots/nestjs-redis-health","version":"9.0.1","description":"Redis(ioredis) health checks module for Nest framework (node.js).","author":{"name":"LiaoLiao","email":"yxiaosong002@gmail.com"},"main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","keywords":["redis","ioredis","cluster","nestjs","nest","nodejs","node","typescript","javascript","health","healthcheck","healthchecks","diagnostics"],"dependencies":{"tslib":"2.4.0"},"devDependencies":{"@liaoliaots/nestjs-redis":"9.0.2"},"peerDependencies":{"@nestjs/common":"^9.0.0","@nestjs/core":"^9.0.0","@nestjs/terminus":"^9.0.0","ioredis":"^5.0.0"},"engines":{"node":">=12.22.0"},"publishConfig":{"access":"public"},"homepage":"https://github.com/liaoliaots/nestjs-redis#readme","repository":{"type":"git","url":"git+https://github.com/liaoliaots/nestjs-redis.git"},"bugs":{"url":"https://github.com/liaoliaots/nestjs-redis/issues"},"scripts":{"prebuild":"rimraf dist","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","lint":"concurrently \"npm:lint:es\" \"npm:lint:tsc\"","lint:es":"eslint \"{lib,test}/**/*.ts\"","lint:tsc":"tsc -p tsconfig.json --noEmit","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:e2e":"jest --config ./test/jest-e2e.json","test:clear":"jest --clearCache","make-badges":"istanbul-badges-readme --coverageDir=\"./coverage\" --readmeDir=\"./\" --style=\"flat-square\" --logo=\"jest\"","madge":"madge --image ./dependency-graph.svg dist/index.js","publish:next":"npm publish --tag next","publish:rc":"npm publish --tag rc"},"_id":"@liaoliaots/nestjs-redis-health@9.0.1","_integrity":"sha512-B4zjglgLil2Zn1AQhZIbPe3ObJdMgvkF9VRVnBjm8QqAlmYsXZAgmYB+yCqOMj7Md6czFKsK3Xp010+oODLLoA==","_resolved":"/tmp/43018ead9ebf9092c79e5524fcbe1180/liaoliaots-nestjs-redis-health-9.0.1.tgz","_from":"file:liaoliaots-nestjs-redis-health-9.0.1.tgz","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-B4zjglgLil2Zn1AQhZIbPe3ObJdMgvkF9VRVnBjm8QqAlmYsXZAgmYB+yCqOMj7Md6czFKsK3Xp010+oODLLoA==","shasum":"b26c555e62d977311b4c996cdc967e6d59598020","tarball":"https://registry.npmjs.org/@liaoliaots/nestjs-redis-health/-/nestjs-redis-health-9.0.1.tgz","fileCount":21,"unpackedSize":20365,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFVYlwvZyioIqRp6rYl0+gClB5pTaEhTij8TfVfWS0laAiEArf65TTDGhFmFQ7gSAv/QZA4EW1N1XpNv5ZeIDKJJgzY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEOVlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqg+w//cf2iPTqZUlOii21vTuBiyxFTNxrhVFSKg6baEpAfrZHuK75V\r\nVM5yajIsJYq7YPjMScuY0R/HxvyZ9JwRc7wUvojJ7s5VN4iWmkTztB53F6f2\r\nrjNCSIsW81C7xhmYDNvEA2qMAy3+FKgwZMQwJoQOhM/tJibt5NKmKDehwLxc\r\nnY/16c7Fmunl6lMhxBhbb5823YCjeBj3KaPuAf1yZ2G6UGkKfnD8nNL3PqyI\r\naBNQf690gEv3jYyY6jLZOaK90Cwz4t0w7l/QRVe3ih7R9N/XUXflUbnOrwYL\r\nImUpqB0f1GQPw5eTin6lYW/zfNlh01oaDY88USUkNIK+ewPzNJLPrjqrihL+\r\nYcV8QwZa5jL7NoMGc/Hru5HmQGnHhVEinlYzY3IBAJB+AfmG7kE0zTrk5kE3\r\n2EGbTXBdIcKEkhh6elcaa2g8wYe3dKt5tn4YqwEw4l711USf/9Us67DYytRL\r\nPBUyuKGlV9NvWkYWEGgd5lHvgJPc8e7jNz65tremzkrZRkuEOog/9a+WTjHg\r\nCwV3mfCCpXG7zh3/rH1pTsvKrt/AHCZl2JywthIw8ZSuX5Q2cWIKtHsPaCyO\r\nzP853gEUHE0iDWqdmeAcJ0kJZP11vAjbSF+pvnKOiPioQqkNsImxH9k/3ckn\r\nDUkXaw3+ITpBuoXR0q3nou095gJGQIze6II=\r\n=WMEQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liaoliaots","email":"yxiaosong002@gmail.com"},"directories":{},"maintainers":[{"name":"liaoliaots","email":"yxiaosong002@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-redis-health_9.0.1_1662051685040_0.9315110480673554"},"_hasShrinkwrap":false},"9.0.2":{"name":"@liaoliaots/nestjs-redis-health","version":"9.0.2","description":"Redis(ioredis) health checks module for Nest framework (node.js).","author":{"name":"LiaoLiao","email":"yxiaosong002@gmail.com"},"main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","keywords":["redis","ioredis","cluster","nestjs","nest","nodejs","node","typescript","javascript","health","healthcheck","healthchecks","diagnostics"],"dependencies":{"tslib":"2.4.0"},"devDependencies":{"@liaoliaots/nestjs-redis":"9.0.3"},"peerDependencies":{"@nestjs/common":"^9.0.0","@nestjs/core":"^9.0.0","@nestjs/terminus":"^9.0.0","ioredis":"^5.0.0"},"engines":{"node":">=12.22.0"},"publishConfig":{"access":"public"},"homepage":"https://github.com/liaoliaots/nestjs-redis#readme","repository":{"type":"git","url":"git+https://github.com/liaoliaots/nestjs-redis.git"},"bugs":{"url":"https://github.com/liaoliaots/nestjs-redis/issues"},"scripts":{"prebuild":"rimraf dist","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","lint":"concurrently \"npm:lint:es\" \"npm:lint:tsc\"","lint:es":"eslint \"{lib,test}/**/*.ts\"","lint:tsc":"tsc -p tsconfig.json --noEmit","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:e2e":"jest --config ./test/jest-e2e.json","test:clear":"jest --clearCache","make-badges":"istanbul-badges-readme --coverageDir=\"./coverage\" --readmeDir=\"./\" --style=\"flat-square\" --logo=\"jest\"","madge":"madge --image ./dependency-graph.svg dist/index.js","publish:next":"npm publish --tag next","publish:rc":"npm publish --tag rc"},"_id":"@liaoliaots/nestjs-redis-health@9.0.2","_integrity":"sha512-0lbt8HUL90qoUEth7ytgh9qv59EMs/EmP6N6AUarTYyNvXVdna/LJn1yIuNi/GAa74jiMi5VixE/tGEN3yfgdQ==","_resolved":"/tmp/7b37244731f98b7115eb86678f42be11/liaoliaots-nestjs-redis-health-9.0.2.tgz","_from":"file:liaoliaots-nestjs-redis-health-9.0.2.tgz","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-0lbt8HUL90qoUEth7ytgh9qv59EMs/EmP6N6AUarTYyNvXVdna/LJn1yIuNi/GAa74jiMi5VixE/tGEN3yfgdQ==","shasum":"d1488903c970d40fda41fb8e3246ef467524460f","tarball":"https://registry.npmjs.org/@liaoliaots/nestjs-redis-health/-/nestjs-redis-health-9.0.2.tgz","fileCount":21,"unpackedSize":20365,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNst4+WcvML9B+5+dJPdE6MnQWScXY5QlexWG39akmyAiA4FdwP3ro+PP/cEWkDy79kooC+JH4CjrFzzS9l4IMpiw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjOG+WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/AxAAlIfEuKtH90Sp6pkol1OXQpUU6qX3p/qXTr2ELksjMzZ/Nn51\r\nr7Cej2aN5402/rK2OKieQLuyfUOJb/9Z+TANWt0qOjGZmQj18334zX+ir+a7\r\n4qdb5IYjz5JWdIrZdPmLUlO5pyNUNLSVFPdllC9jsxFHYzyokQvrxbADERVn\r\nWH7ECEF/sQd0AAsaaNIvxO8STaXlz1pLusn1nn1ZyYAZca3F6Ue8E5kImZsW\r\nzuphey5/mvYAilke4HbaBL2I75ZASLsgI2VF4TbL17X8jQDO7N4MKrDabJoz\r\nOaYguHj17CofSZNZv2p5hMP0vb1dya6RuwsvwLPrzc/dba/MqIAEU4OB7FFl\r\neAccgWZMRRXpO6DDSe5ctsgnRV/kykOBLTvgFeD7sZc7dkFb2VCDHR4T0U24\r\nHd5GBNYyGNZA+PkLuMLWXvlv4iLJp04dkZatJlp7Yx5qrl/65aBOtD1vran/\r\nFuPnwQEVhEHiKgZXYd7aUgqM1hKVLnFP1fEJ3w14y58BrKX/VQZ0wkvcUK3h\r\nqvEqTUjo6rkjKqU59PETELYqpDXIjUflKdvA/cCQs3JLxjt8Y4svCVPYDkJt\r\ns7uFdE2WJW0OoENYxAh87OxAmYMtfKDUlcXqMi2i5kQ06Nahu20VM1kjytSf\r\ny/ez9mmLdYluM5CDdo+Ey0YTEOcnarliqoU=\r\n=NlFH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liaoliaots","email":"yxiaosong002@gmail.com"},"directories":{},"maintainers":[{"name":"liaoliaots","email":"yxiaosong002@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-redis-health_9.0.2_1664642966110_0.551092426234451"},"_hasShrinkwrap":false},"9.0.3":{"name":"@liaoliaots/nestjs-redis-health","version":"9.0.3","description":"Redis(ioredis) health checks module for Nest framework (node.js).","author":{"name":"LiaoLiao","email":"yxiaosong002@gmail.com"},"main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","keywords":["redis","ioredis","cluster","nestjs","nest","nodejs","node","typescript","javascript","health","healthcheck","healthchecks","diagnostics"],"dependencies":{"tslib":"2.4.1"},"devDependencies":{"@liaoliaots/nestjs-redis":"9.0.4"},"peerDependencies":{"@nestjs/common":"^9.0.0","@nestjs/core":"^9.0.0","@nestjs/terminus":"^9.0.0","ioredis":"^5.0.0"},"engines":{"node":">=12.22.0"},"publishConfig":{"access":"public"},"homepage":"https://github.com/liaoliaots/nestjs-redis#readme","repository":{"type":"git","url":"git+https://github.com/liaoliaots/nestjs-redis.git"},"bugs":{"url":"https://github.com/liaoliaots/nestjs-redis/issues"},"scripts":{"prebuild":"rimraf dist","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","lint":"concurrently \"npm:lint:es\" \"npm:lint:tsc\"","lint:es":"eslint \"{lib,test}/**/*.ts\"","lint:tsc":"tsc -p tsconfig.json --noEmit","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:e2e":"jest --config ./test/jest-e2e.json","test:clear":"jest --clearCache","make-badges":"istanbul-badges-readme --coverageDir=\"./coverage\" --readmeDir=\"./\" --style=\"flat-square\" --logo=\"jest\"","madge":"madge --image ./dependency-graph.svg dist/index.js","publish:next":"npm publish --tag next","publish:rc":"npm publish --tag rc"},"_id":"@liaoliaots/nestjs-redis-health@9.0.3","_integrity":"sha512-SyEkbEBZTAFDuZKQJRVY+5sjamUz3YX4fA82ok7QuRYEi7gc5TX+o+yTxTzddrkeOQJ/NSYwgia+VPF1k0V6dA==","_resolved":"/tmp/2004237f83972ae9e75c0d0797f57c53/liaoliaots-nestjs-redis-health-9.0.3.tgz","_from":"file:liaoliaots-nestjs-redis-health-9.0.3.tgz","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-SyEkbEBZTAFDuZKQJRVY+5sjamUz3YX4fA82ok7QuRYEi7gc5TX+o+yTxTzddrkeOQJ/NSYwgia+VPF1k0V6dA==","shasum":"3fdd908449863a82776f8907cc421f0057e146ed","tarball":"https://registry.npmjs.org/@liaoliaots/nestjs-redis-health/-/nestjs-redis-health-9.0.3.tgz","fileCount":21,"unpackedSize":20365,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1HoeAkBc1eAEM/kfQjCp721NaOZeL1qVSwli10Ab9qAiEAzL+bo6WjaUJyOHmdgNsIboqZeifK8Z22UUrqQoxxbfg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZ9LLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrpuQ//aF+3lEeIxEJ8gJ36msZif1Jz0Ghn7MMLU+NN9G/Ax4k619/0\r\nKZSrtIw1z+0SkEhS/Sz3fDB3r+QmXoj0JDpE7M39KywFdDBFL8cBDqIB2jKF\r\nTy4Oj752KnlVOO6flbmkawDX1MXZ+PJFwE6L7ANjyzMT9IQhkh46MvI9+kGg\r\n8hzJrKZtTpjcmWg/gSEdvSstjY+2yc6/Ru4yPfWYbLMV+b4pRWieY+cMgsET\r\ns0YyLtZTvJ4i9eD+yK3R+3it1tQd09s7amLwUUweyDVAy0vUcfuZwBTZOLgp\r\nwmm/7Wn+EZgR+6ASjQ2FaGiGwH3atjX36CyPw9ZMNoBIDg6b/ELhW1z7nFBQ\r\nbzW4WF96ZncuWpcj6hnhEfbaMusVI++yY9FFx+nCa2LDquF69iKFEeJVllyd\r\nK4hqywm3J4aCIZwa1j+brrGZrzUcYqahPJU9V8UjVq6ppPu1KAAVzVxmW4cq\r\n/7XJvYOQbS4sUezNq6WgZ3iDOQJgKVHfymS1P4+ppjprK4c5e44VFE5rarpE\r\nI7tFPrd8slRjP5O0ARJJz/DDLvTmddGC1S39dfNGl6TfCghrCKsXUTrvKWtP\r\nTWguhKIy4zRYQMubffQ4etSIIvzFdxop4ryhYIWuSAczzu8LDeDLDH8hyWk3\r\nx4sVCbhwY2wlQhBG+2v/WrsCjwp4hk+7NY0=\r\n=UsUQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liaoliaots","email":"yxiaosong002@gmail.com"},"directories":{},"maintainers":[{"name":"liaoliaots","email":"yxiaosong002@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-redis-health_9.0.3_1667748555637_0.15474082337531003"},"_hasShrinkwrap":false},"9.0.4":{"name":"@liaoliaots/nestjs-redis-health","version":"9.0.4","description":"Redis(ioredis) health checks module for Nest framework (node.js).","author":{"name":"LiaoLiao","email":"yxiaosong002@gmail.com"},"main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","keywords":["redis","ioredis","cluster","nestjs","nest","nodejs","node","typescript","javascript","health","healthcheck","healthchecks","diagnostics"],"dependencies":{"tslib":"2.4.1"},"devDependencies":{"@liaoliaots/nestjs-redis":"9.0.5"},"peerDependencies":{"@nestjs/common":"^9.0.0","@nestjs/core":"^9.0.0","@nestjs/terminus":"^9.0.0","ioredis":"^5.0.0"},"engines":{"node":">=12.22.0"},"publishConfig":{"access":"public"},"homepage":"https://github.com/liaoliaots/nestjs-redis#readme","repository":{"type":"git","url":"git+https://github.com/liaoliaots/nestjs-redis.git"},"bugs":{"url":"https://github.com/liaoliaots/nestjs-redis/issues"},"scripts":{"prebuild":"rimraf dist","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","lint":"concurrently \"npm:lint:es\" \"npm:lint:tsc\"","lint:es":"eslint \"{lib,test}/**/*.ts\"","lint:tsc":"tsc -p tsconfig.json --noEmit","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:e2e":"jest --config ./test/jest-e2e.json","test:clear":"jest --clearCache","make-badges":"istanbul-badges-readme --coverageDir=\"./coverage\" --readmeDir=\"./\" --style=\"flat-square\" --logo=\"jest\"","madge":"madge --image ./dependency-graph.svg dist/index.js","publish:next":"npm publish --tag next","publish:rc":"npm publish --tag rc"},"_id":"@liaoliaots/nestjs-redis-health@9.0.4","_integrity":"sha512-bVHQl4ZmkdJ6SpGi9vxBjl9RjaCA7enhOV9nFRviyfkMXV6Za0NaCGPwLmNeJJhXW2/ZYbSZFM/i/B3D8vX+wA==","_resolved":"/tmp/5e8a70e51eeaeb7d3f036a422600853f/liaoliaots-nestjs-redis-health-9.0.4.tgz","_from":"file:liaoliaots-nestjs-redis-health-9.0.4.tgz","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-bVHQl4ZmkdJ6SpGi9vxBjl9RjaCA7enhOV9nFRviyfkMXV6Za0NaCGPwLmNeJJhXW2/ZYbSZFM/i/B3D8vX+wA==","shasum":"f62ec53288d8bdba2225607c4fe968ea5ad7b057","tarball":"https://registry.npmjs.org/@liaoliaots/nestjs-redis-health/-/nestjs-redis-health-9.0.4.tgz","fileCount":21,"unpackedSize":20352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAKXlN+IN0L4LnsN74M9agOwrzh+o27/Yztjr3GdN01gIgeBFv52uORi/f5xDk6UACWJEkPWGi8qz/iI6UBoUl2p4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjsZi7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLqQ//e1jgSf3+JlJzESve9NFnxyQtWm8TU7l8DFw3+rq1bwEOE3IF\r\nOb5nf4LzIAf2ANNEzPircv3kk7eMbhIsZlX44pg0BiNEyQAXqrqTGt2jCvMi\r\n2vqMB6c51edIt2+JCUxoS137+XtWYthUz67ogkMexfH94pwrtVcd49dXgOK3\r\nceexv6l4WNFIuOfGSc3iyWJe89idz9t0ZK2UC85PJqEmaKeeYnw8WAVevUEJ\r\nxY8AiJIq6NwOBpIdmQDfS+JrDx268VIp3YLMpeAt95zlzJI5Qjd9ZIg//Z9G\r\n2yvQOhGFjHgOzL1Q/5c1yZFgOWWWygCQ71T/laEVG5ZNEwjmsuYduHzPjgKw\r\nK1PvJPDEgZOZfoP62WPC9GMOmEkdyhSR3GYy5hCuL6SL5zFMjaNb9gNqITYL\r\n9a0Zfmlv+POj44qIYJHmjdygC51AtkEaWx2J2R23nsif/8jcQ8jKS49yjAtv\r\nNSiJezyyJ+O/UpsVRo+fjz6gevVtIQ1eMm2NQic0W88A90MHmCKfkmw2aagd\r\nl7Khf1ONNJwMfGNDG2RvANlqLnRJOMvMy4gp9IHG3EqpBbDre1/Wz4xR/78K\r\n9RuGtPmj7pdv6MDgNJwthqc2DTJ1rZ9/KGd+xXKiZrkpFpKOWmHxdNwX8BTD\r\nwyBu+b0h2+zhwKu7Z07sHOIuPkcIsLgYfy4=\r\n=Abl5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liaoliaots","email":"yxiaosong002@gmail.com"},"directories":{},"maintainers":[{"name":"liaoliaots","email":"yxiaosong002@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-redis-health_9.0.4_1672583355235_0.6701873548410318"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-12T15:56:04.992Z","9.0.0-next.1":"2022-07-12T15:56:05.626Z","modified":"2023-01-01T14:29:15.560Z","9.0.0":"2022-07-17T14:50:17.429Z","9.0.1":"2022-09-01T17:01:25.167Z","9.0.2":"2022-10-01T16:49:26.290Z","9.0.3":"2022-11-06T15:29:15.796Z","9.0.4":"2023-01-01T14:29:15.442Z"},"maintainers":[{"name":"liaoliaots","email":"yxiaosong002@gmail.com"}],"description":"Redis(ioredis) health checks module for Nest framework (node.js).","homepage":"https://github.com/liaoliaots/nestjs-redis#readme","keywords":["redis","ioredis","cluster","nestjs","nest","nodejs","node","typescript","javascript","health","healthcheck","healthchecks","diagnostics"],"repository":{"type":"git","url":"git+https://github.com/liaoliaots/nestjs-redis.git"},"author":{"name":"LiaoLiao","email":"yxiaosong002@gmail.com"},"bugs":{"url":"https://github.com/liaoliaots/nestjs-redis/issues"},"license":"MIT","readme":"[![NPM][npm-shield]][npm-url]\n[![Downloads][downloads-shield]][downloads-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n![Vulnerabilities][vulnerabilities-shield]\n[![License][license-shield]][license-url]\n\n<p align=\"center\">\n  <a href=\"https://nestjs.com/\">\n    <img src=\"https://nestjs.com/img/logo-small.svg\" alt=\"Nest Logo\" width=\"120\">\n  </a>\n</p>\n\n<div align=\"center\">\n  <h1 align=\"center\">Nest Redis Health Module</h1>\n\n  <p align=\"center\">\n    Redis(ioredis) health checks module for Nest framework (node.js).\n    <br />\n    <a href=\"#usage\"><strong>Explore the docs »</strong></a>\n    <br />\n    <br />\n    <a href=\"https://github.com/liaoliaots/nestjs-redis/issues\">Report Bug</a>\n    ·\n    <a href=\"https://github.com/liaoliaots/nestjs-redis/issues\">Request Feature</a>\n  </p>\n</div>\n\n<details>\n  <summary>Table of Contents</summary>\n  <ol>\n    <li>\n      <a href=\"#about-the-project\">About The Project</a>\n      <ul>\n        <li><a href=\"#features\">Features</a></li>\n        <li><a href=\"#test-coverage\">Test coverage</a></li>\n      </ul>\n    </li>\n    <li>\n      <a href=\"#getting-started\">Getting Started</a>\n      <ul>\n        <li><a href=\"#prerequisites\">Prerequisites</a></li>\n        <li><a href=\"#installation\">Installation</a></li>\n      </ul>\n    </li>\n    <li><a href=\"#usage\">Usage</a></li>\n    <li><a href=\"#settings\">Settings</a></li>\n    <li><a href=\"#license\">License</a></li>\n    <li><a href=\"./dependency-graph.svg\">Package dependency overview</a></li>\n  </ol>\n</details>\n\n## About The Project\n\n### Features\n\n- **Both redis & cluster are supported**.\n- **Health**: Checks health of **redis & cluster** server.\n- **Rigorously tested**: With 20+ tests and 100% code coverage.\n\n### Test coverage\n\n| Statements                                                                                                | Branches                                                                                              | Functions                                                                                               | Lines                                                                                           |\n| --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| ![Statements](https://img.shields.io/badge/statements-100%25-brightgreen.svg?style=flat-square&logo=jest) | ![Branches](https://img.shields.io/badge/branches-100%25-brightgreen.svg?style=flat-square&logo=jest) | ![Functions](https://img.shields.io/badge/functions-100%25-brightgreen.svg?style=flat-square&logo=jest) | ![Lines](https://img.shields.io/badge/lines-100%25-brightgreen.svg?style=flat-square&logo=jest) |\n\n## Getting Started\n\n### Prerequisites\n\nThis lib requires **Node.js >=12.22.0**, **NestJS ^9.0.0**, **ioredis ^5.0.0**.\n\n### Installation\n\n```sh\n# with npm\nnpm install @nestjs/terminus @liaoliaots/nestjs-redis-health ioredis\n# with yarn\nyarn add @nestjs/terminus @liaoliaots/nestjs-redis-health ioredis\n# with pnpm\npnpm add @nestjs/terminus @liaoliaots/nestjs-redis-health ioredis\n```\n\n## Usage\n\n**1**, import `TerminusModule` and `RedisHealthModule` into the imports array:\n\n```ts\n// app.module.ts\nimport { Module } from '@nestjs/common';\nimport { TerminusModule } from '@nestjs/terminus';\nimport { RedisHealthModule } from '@liaoliaots/nestjs-redis-health';\nimport { AppController } from './app.controller';\n\n@Module({\n  imports: [TerminusModule, RedisHealthModule],\n  controllers: [AppController]\n})\nexport class AppModule {}\n```\n\n**2**, let's setup `AppController`:\n\n```ts\n// app.controller.ts\nimport { Controller, Get } from '@nestjs/common';\nimport { HealthCheckService, HealthCheck, HealthCheckResult } from '@nestjs/terminus';\nimport { RedisHealthIndicator } from '@liaoliaots/nestjs-redis-health';\nimport Redis from 'ioredis';\n\n@Controller()\nexport class AppController {\n  private readonly redis: Redis;\n\n  constructor(private readonly health: HealthCheckService, private readonly redisIndicator: RedisHealthIndicator) {\n    this.redis = new Redis({ host: 'localhost', port: 6379, password: 'authpassword' });\n  }\n\n  @Get('health')\n  @HealthCheck()\n  async healthChecks(): Promise<HealthCheckResult> {\n    return await this.health.check([\n      () => this.redisIndicator.checkHealth('redis', { type: 'redis', client: this.redis, timeout: 500 })\n    ]);\n  }\n}\n```\n\n**3**, if your redis server is reachable, you should now see the following JSON-result when requesting http://localhost:3000/health with a GET request:\n\n```json\n{\n  \"status\": \"ok\",\n  \"info\": {\n    \"redis\": {\n      \"status\": \"up\"\n    }\n  },\n  \"error\": {},\n  \"details\": {\n    \"redis\": {\n      \"status\": \"up\"\n    }\n  }\n}\n```\n\n> INFO: Read more about `@nestjs/terminus` [here](https://docs.nestjs.com/recipes/terminus).\n\n> HINT: Both `TerminusModule` and `RedisHealthModule` are not global modules.\n\n## Settings\n\n### Redis\n\n| Name            | Type      | Default     | Required | Description                                                                                           |\n| --------------- | --------- | ----------- | -------- | ----------------------------------------------------------------------------------------------------- |\n| type            | `'redis'` | `undefined` | `true`   | Server type. You must specify what Redis server type you use. Possible values are \"redis\", \"cluster\". |\n| client          | `Redis`   | `undefined` | `true`   | The client which the health check should get executed.                                                |\n| timeout         | `number`  | `1000`      | `false`  | The amount of time the check should require in `ms`.                                                  |\n| memoryThreshold | `number`  | `undefined` | `false`  | The maximum amount of memory used by redis in `bytes`.                                                |\n\n### Cluster\n\n| Name   | Type        | Default     | Required | Description                                                                                           |\n| ------ | ----------- | ----------- | -------- | ----------------------------------------------------------------------------------------------------- |\n| type   | `'cluster'` | `undefined` | `true`   | Server type. You must specify what Redis server type you use. Possible values are \"redis\", \"cluster\". |\n| client | `Cluster`   | `undefined` | `true`   | The client which the health check should get executed.                                                |\n\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n[npm-shield]: https://img.shields.io/npm/v/@liaoliaots/nestjs-redis-health/latest?style=for-the-badge\n[npm-url]: https://www.npmjs.com/package/@liaoliaots/nestjs-redis-health\n[downloads-shield]: https://img.shields.io/npm/dm/@liaoliaots/nestjs-redis-health?style=for-the-badge\n[downloads-url]: https://www.npmjs.com/package/@liaoliaots/nestjs-redis-health\n[stars-shield]: https://img.shields.io/github/stars/liaoliaots/nestjs-redis?style=for-the-badge\n[stars-url]: https://github.com/liaoliaots/nestjs-redis/stargazers\n[issues-shield]: https://img.shields.io/github/issues/liaoliaots/nestjs-redis?style=for-the-badge\n[issues-url]: https://github.com/liaoliaots/nestjs-redis/issues\n[license-shield]: https://img.shields.io/npm/l/@liaoliaots/nestjs-redis?style=for-the-badge\n[license-url]: https://github.com/liaoliaots/nestjs-redis/blob/main/LICENSE\n[vulnerabilities-shield]: https://img.shields.io/snyk/vulnerabilities/npm/@liaoliaots/nestjs-redis-health?style=for-the-badge\n","readmeFilename":"README.md"}