{"_id":"@crudmates/redis-pubsub","_rev":"8-07ea4d04a45aa57ae2a916aa430135a5","name":"@crudmates/redis-pubsub","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.1":{"name":"@crudmates/redis-pubsub","version":"0.0.1","keywords":["nestjs","redis","pubsub","event","messaging","streams"],"author":{"name":"Gbenga Omowole","email":"omowole.gbenga@gmail.com"},"license":"MIT","_id":"@crudmates/redis-pubsub@0.0.1","maintainers":[{"name":"geeb","email":"crudmates@gmail.com"}],"homepage":"https://github.com/creativogee/redis-pubsub#readme","bugs":{"url":"https://github.com/creativogee/redis-pubsub/issues"},"dist":{"shasum":"6808d0b17afc7bdfb97c1c303f3542b7a75f5ab6","tarball":"https://registry.npmjs.org/@crudmates/redis-pubsub/-/redis-pubsub-0.0.1.tgz","fileCount":17,"integrity":"sha512-kslrTu5C5x30iXcotzUcF4gzBenAKbGvRRRm1CJPYL0UisZt9vMDKIeNWrowYQRDD+HlmcaTmRHdhshhhKInWQ==","signatures":[{"sig":"MEQCIC0F9R+kpvUIPVQVdFqh/os0vRCCF6+pu38mzEklYD88AiBjL6zw6CoB5ZWnF/EHFHe9fmT4DufpfTmm9lYs+6vN9A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":128923},"jest":{"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","types":"types/index.d.ts","gitHead":"614fbe3786e4e16d0fbf810917378c6313a29e91","scripts":{"build":"nest build","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"geeb","email":"crudmates@gmail.com"},"repository":{"url":"git+https://github.com/creativogee/redis-pubsub.git","type":"git"},"_npmVersion":"10.7.0","description":"A Redis-based Pub/Sub module for NestJS applications.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"rxjs":"^7.8.1","ioredis":"^5.4.1","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","reflect-metadata":"^0.2.0","@nestjs/platform-express":"^10.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","ts-jest":"^29.1.0","ts-node":"^10.9.1","prettier":"^2.0.0","supertest":"^6.3.3","ts-loader":"^9.4.3","typescript":"^5.1.3","@nestjs/cli":"^10.0.0","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/express":"^4.17.17","tsconfig-paths":"^4.2.0","@nestjs/testing":"^10.0.0","@types/supertest":"^6.0.0","@nestjs/schematics":"^10.0.0","source-map-support":"^0.5.21","eslint-config-prettier":"^8.0.0","eslint-plugin-prettier":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/redis-pubsub_0.0.1_1728136481927_0.09637968755170134","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@crudmates/redis-pubsub","version":"0.0.2","keywords":["nestjs","redis","pubsub","event","messaging","streams"],"author":{"name":"Gbenga Omowole","email":"omowole.gbenga@gmail.com"},"license":"MIT","_id":"@crudmates/redis-pubsub@0.0.2","maintainers":[{"name":"geeb","email":"crudmates@gmail.com"}],"homepage":"https://github.com/creativogee/redis-pubsub#readme","bugs":{"url":"https://github.com/creativogee/redis-pubsub/issues"},"dist":{"shasum":"6243cf7b45f6b1d188406dd86dc107102de57108","tarball":"https://registry.npmjs.org/@crudmates/redis-pubsub/-/redis-pubsub-0.0.2.tgz","fileCount":17,"integrity":"sha512-mznbNRDe3+jmISW2lAC3apeoUnc9ZsU4Mtnu6A6xKNLyLgSI6MSanOiOKw1/SAXwPecnA/z1sESCiaHE4CIPJw==","signatures":[{"sig":"MEUCIQCEvmsJvf8Xwm1XrwNR8NGdQseDL5NymecxBvavufeQQgIgd7LJWbd3Tbi53SiuICEWrD8z/1lB06RUze1b6wOlMIk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":128323},"jest":{"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","types":"types/index.d.ts","gitHead":"f1cc2a77ed6e7d1a94e3edf7b250171bfe47b286","scripts":{"build":"nest build","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"geeb","email":"crudmates@gmail.com"},"repository":{"url":"git+https://github.com/creativogee/redis-pubsub.git","type":"git"},"_npmVersion":"10.7.0","description":"A Redis-based Pub/Sub module for NestJS applications.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"ioredis":"^5.4.1"},"_hasShrinkwrap":false,"devDependencies":{"rxjs":"^7.8.1","typescript":"^5.1.3","@types/node":"^20.3.1","@nestjs/common":"^10.0.0","reflect-metadata":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/redis-pubsub_0.0.2_1728155145388_0.026391639261690747","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@crudmates/redis-pubsub","version":"0.0.3","keywords":["nestjs","redis","pubsub","event","messaging","streams"],"author":{"name":"Gbenga Omowole","email":"omowole.gbenga@gmail.com"},"license":"MIT","_id":"@crudmates/redis-pubsub@0.0.3","maintainers":[{"name":"geeb","email":"crudmates@gmail.com"}],"homepage":"https://github.com/creativogee/redis-pubsub#readme","bugs":{"url":"https://github.com/creativogee/redis-pubsub/issues"},"dist":{"shasum":"d1d5694c4e55e62c51d2e574dd520b12593c0e56","tarball":"https://registry.npmjs.org/@crudmates/redis-pubsub/-/redis-pubsub-0.0.3.tgz","fileCount":17,"integrity":"sha512-TlOQwEu+TviF20ZngvGR4je5g6s1ho89DvUmX98xoHRT/m/ygsF5s1tq2w6vueKuQnGy+/auKq1pGL1/YphlQw==","signatures":[{"sig":"MEUCIBSA1lD8KxxGBCl7VhNTszsx0FOUGh4xxIUXhcSqIm3qAiEA2Q+8bB0Qwv/4y1O2ZeKYMSajLFUtwWnTr2Id8IftrRA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":128973},"jest":{"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","types":"types/index.d.ts","gitHead":"3ee26aa3bca10f08ba69b126a9e7e514c567bd98","scripts":{"build":"nest build","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"geeb","email":"crudmates@gmail.com"},"repository":{"url":"git+https://github.com/creativogee/redis-pubsub.git","type":"git"},"_npmVersion":"10.7.0","description":"A Redis-based Pub/Sub module for NestJS applications.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"ioredis":"^5.4.1"},"_hasShrinkwrap":false,"devDependencies":{"rxjs":"^7.8.1","typescript":"^5.1.3","@types/node":"^20.3.1","@nestjs/common":"^10.0.0","reflect-metadata":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/redis-pubsub_0.0.3_1730068466415_0.31452800284449034","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@crudmates/redis-pubsub","version":"0.0.4","keywords":["nestjs","redis","pubsub","event","messaging","streams"],"author":{"name":"Gbenga Omowole","email":"omowole.gbenga@gmail.com"},"license":"MIT","_id":"@crudmates/redis-pubsub@0.0.4","maintainers":[{"name":"geeb","email":"crudmates@gmail.com"}],"homepage":"https://github.com/creativogee/redis-pubsub#readme","bugs":{"url":"https://github.com/creativogee/redis-pubsub/issues"},"dist":{"shasum":"077df5e7a8a363ffe9e778a9b504652d648863f7","tarball":"https://registry.npmjs.org/@crudmates/redis-pubsub/-/redis-pubsub-0.0.4.tgz","fileCount":17,"integrity":"sha512-hdh/mC9vxgycXYlaGsHyG02tSaraO68MyqRzkWWqknfPcq6ICCumi2iNxWYbKuBIEoaTPP2bpvuEdP75kddE3g==","signatures":[{"sig":"MEQCIEECuQuPp00A8nBefcNYaDVVv/1BeMmOrjKVhr2yoHUnAiAmqrXJOyrHnj0HaXTQHSRK+CK3YshTWUWj+QcEpxJD9g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":128739},"jest":{"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","types":"types/index.d.ts","gitHead":"2dd1267cf563295c08709d74746166d2b35c1e5b","scripts":{"build":"nest build","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"geeb","email":"crudmates@gmail.com"},"repository":{"url":"git+https://github.com/creativogee/redis-pubsub.git","type":"git"},"_npmVersion":"10.7.0","description":"A Redis-based Pub/Sub module for NestJS applications.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"ioredis":"^5.4.1"},"_hasShrinkwrap":false,"devDependencies":{"rxjs":"^7.8.1","typescript":"^5.1.3","@types/node":"^20.3.1","@nestjs/common":"^10.0.0","reflect-metadata":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/redis-pubsub_0.0.4_1730072036984_0.7440914622148682","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@crudmates/redis-pubsub","version":"0.0.5","keywords":["nestjs","redis","pubsub","event","messaging","streams"],"author":{"name":"Gbenga Omowole","email":"omowole.gbenga@gmail.com"},"license":"MIT","_id":"@crudmates/redis-pubsub@0.0.5","maintainers":[{"name":"geeb","email":"crudmates@gmail.com"}],"homepage":"https://github.com/creativogee/redis-pubsub#readme","bugs":{"url":"https://github.com/creativogee/redis-pubsub/issues"},"dist":{"shasum":"28b5985e59ab2cc345811bab664efd53217f7eae","tarball":"https://registry.npmjs.org/@crudmates/redis-pubsub/-/redis-pubsub-0.0.5.tgz","fileCount":14,"integrity":"sha512-eFxksPySJTUOE7loSxewig8ITps+NWjaT+XYNrJ0Cz49oNo9FOGQWu2V2/scssT5OPbNx4brX4IFj3LNBUzr4g==","signatures":[{"sig":"MEYCIQCcIrVbPPA4ExoHngsA33vFox2tPkw0ld+BJQJ2Wn3/5wIhAJzEZykRQHL7okJLG8qf/dnzzmpRxlYiZBWEse+zjpXt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":125067},"jest":{"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","types":"types/index.d.ts","gitHead":"ecc768e50ad06be5a4dc60aa64cc6bc71efef362","scripts":{"build":"nest build","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"geeb","email":"crudmates@gmail.com"},"repository":{"url":"git+https://github.com/creativogee/redis-pubsub.git","type":"git"},"_npmVersion":"10.7.0","description":"A Redis-based Pub/Sub module for NestJS applications.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"ioredis":"^5.4.1"},"_hasShrinkwrap":false,"devDependencies":{"rxjs":"^7.8.1","typescript":"^5.1.3","@types/node":"^20.3.1","@nestjs/common":"^10.0.0","reflect-metadata":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/redis-pubsub_0.0.5_1730074149434_0.7160928189384494","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@crudmates/redis-pubsub","version":"0.0.6","keywords":["nestjs","redis","pubsub","event","messaging","streams"],"author":{"name":"Gbenga Omowole","email":"omowole.gbenga@gmail.com"},"license":"MIT","_id":"@crudmates/redis-pubsub@0.0.6","maintainers":[{"name":"geeb","email":"crudmates@gmail.com"}],"homepage":"https://github.com/creativogee/redis-pubsub#readme","bugs":{"url":"https://github.com/creativogee/redis-pubsub/issues"},"dist":{"shasum":"2752ba892c3ef3c547851bdb2cf78287ee9d126f","tarball":"https://registry.npmjs.org/@crudmates/redis-pubsub/-/redis-pubsub-0.0.6.tgz","fileCount":14,"integrity":"sha512-MGQp7KzcigA8AXJrxREYeQ1JEgpaTgTQbDk+P+/uNbzpHmhpUEreJlFVoRAw0i7GUlDy9PtTt82xxkGDoxZMXg==","signatures":[{"sig":"MEYCIQCUwGcxO6X8UTKP+i/fJiyXGYzWuFtXs5EqERuykvkQQAIhAPS+I9W6CNhGQjbVj18Lt+EaoqLMgqk3/B6rv+ASF28u","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":125635},"jest":{"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","types":"types/index.d.ts","gitHead":"965ad5105a6eb5e266050335534d5997e3b2d804","scripts":{"build":"nest build","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"geeb","email":"crudmates@gmail.com"},"repository":{"url":"git+https://github.com/creativogee/redis-pubsub.git","type":"git"},"_npmVersion":"10.9.0","description":"A Redis-based Pub/Sub module for NestJS applications.","directories":{},"_nodeVersion":"22.11.0","dependencies":{"ioredis":"^5.4.1"},"_hasShrinkwrap":false,"devDependencies":{"rxjs":"^7.8.1","typescript":"^5.1.3","@types/node":"^20.3.1","@nestjs/common":"^10.0.0","reflect-metadata":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/redis-pubsub_0.0.6_1732051651261_0.26754095836881997","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@crudmates/redis-pubsub","version":"0.0.7","keywords":["nestjs","redis","pubsub","event","messaging","streams"],"author":{"name":"Gbenga Omowole","email":"omowole.gbenga@gmail.com"},"license":"MIT","_id":"@crudmates/redis-pubsub@0.0.7","maintainers":[{"name":"geeb","email":"crudmates@gmail.com"}],"homepage":"https://github.com/creativogee/redis-pubsub#readme","bugs":{"url":"https://github.com/creativogee/redis-pubsub/issues"},"dist":{"shasum":"35ec66f112c40c6dc9029aa0a9ddee56c0c4786f","tarball":"https://registry.npmjs.org/@crudmates/redis-pubsub/-/redis-pubsub-0.0.7.tgz","fileCount":14,"integrity":"sha512-f7grs2x+k5CVCl000pQ9HUzfYJmns9iojvKUcg33afv4oslER5Uej4LlELi5Ib3nBznUTcEVwq9Lj5dKh/65ww==","signatures":[{"sig":"MEUCIQDV0aRTx+c/iXMrFtGLPyFEts+gHstpNFRgudFzdFa85gIgYj6VHZ3Yokg3gybB26wEVR/N+ri5f4tyJekbvgKZtxY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":125636},"jest":{"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","types":"types/index.d.ts","gitHead":"7cd0c85da83b36d8668b6d7159a57a047b2a3d09","scripts":{"build":"nest build","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"geeb","email":"crudmates@gmail.com"},"repository":{"url":"git+https://github.com/creativogee/redis-pubsub.git","type":"git"},"_npmVersion":"10.9.0","description":"A Redis-based Pub/Sub module for NestJS applications.","directories":{},"_nodeVersion":"22.11.0","dependencies":{"ioredis":"^5.4.1"},"_hasShrinkwrap":false,"devDependencies":{"rxjs":"^7.8.1","typescript":"^5.1.3","@types/node":"^20.3.1","@nestjs/common":"^10.0.0","reflect-metadata":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/redis-pubsub_0.0.7_1732051808564_0.27974453755463813","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@crudmates/redis-pubsub","version":"0.0.8","keywords":["nestjs","redis","pubsub","event","messaging","streams"],"author":{"name":"Gbenga Omowole","email":"omowole.gbenga@gmail.com"},"license":"MIT","_id":"@crudmates/redis-pubsub@0.0.8","maintainers":[{"name":"geeb","email":"crudmates@gmail.com"}],"homepage":"https://github.com/creativogee/redis-pubsub#readme","bugs":{"url":"https://github.com/creativogee/redis-pubsub/issues"},"dist":{"shasum":"9ccd5fba292601042f32222c772dd0a92bbd7c45","tarball":"https://registry.npmjs.org/@crudmates/redis-pubsub/-/redis-pubsub-0.0.8.tgz","fileCount":14,"integrity":"sha512-URamB49VFfspy6TIqaBBb9mhrw3GMMoEpXfs7vWXLItzuSzK9ZXcDgxIdrHExtLWNTmjMnbRIanJXBiaFjLzNg==","signatures":[{"sig":"MEYCIQDhZDMgt6JL1boJEN8/mDBdq5PZuAGYivjDjOFW/Gdn3AIhAJybgI0l9sQFFLzkOYS8QLZZYNnjs7sqJ8ANb1w4ksFV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":125637},"jest":{"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","types":"types/index.d.ts","gitHead":"32af1491343ddc6dfcced27ce524d683687232df","scripts":{"build":"nest build","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"geeb","email":"crudmates@gmail.com"},"repository":{"url":"git+https://github.com/creativogee/redis-pubsub.git","type":"git"},"_npmVersion":"10.9.0","description":"A Redis-based Pub/Sub module for NestJS applications.","directories":{},"_nodeVersion":"22.11.0","dependencies":{"ioredis":"^5.4.1"},"_hasShrinkwrap":false,"devDependencies":{"rxjs":"^7.8.1","typescript":"^5.1.3","@types/node":"^20.3.1","@nestjs/common":"^10.0.0","reflect-metadata":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/redis-pubsub_0.0.8_1732052153094_0.08010473907307714","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"@crudmates/redis-pubsub","version":"0.0.9","description":"A Redis-based Pub/Sub module for NestJS applications.","main":"dist/index.js","types":"types/index.d.ts","author":{"name":"Gbenga Omowole","email":"omowole.gbenga@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/creativogee/redis-pubsub.git"},"homepage":"https://github.com/creativogee/redis-pubsub#readme","keywords":["nestjs","redis","pubsub","event","messaging","streams"],"scripts":{"build":"nest build","prepublishOnly":"npm run build","clean":"rm -rf dist"},"dependencies":{"ioredis":"^5.4.1"},"devDependencies":{"@nestjs/common":"^10.0.0","@types/node":"^20.3.1","reflect-metadata":"^0.2.0","rxjs":"^7.8.1","typescript":"^5.1.3"},"jest":{"moduleFileExtensions":["js","json","ts"],"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"collectCoverageFrom":["**/*.(t|j)s"],"coverageDirectory":"../coverage","testEnvironment":"node"},"_id":"@crudmates/redis-pubsub@0.0.9","gitHead":"7f2c78ebe1f1c8f285b4e86bdb84e2561bcebedb","bugs":{"url":"https://github.com/creativogee/redis-pubsub/issues"},"_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-X1nf2dYfT9N/nMyZ0I7hmLleN/8LZ7r7HSHgwdBVWpKecVYN+Ce87ezgUAxceWyaMCHuartSljNx6+tR68YEEg==","shasum":"c9a7eacd606bca12bacda3393596ba2936e2c8ed","tarball":"https://registry.npmjs.org/@crudmates/redis-pubsub/-/redis-pubsub-0.0.9.tgz","fileCount":14,"unpackedSize":125638,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCH3nJK9kmxoq9VfxZGM0iRgpKa54QSh0gz6Za+cACBZQIhAJyw9i5IEqp0L2BSPC6AL+fdoKFVZp9esd/jopnjUHsi"}]},"_npmUser":{"name":"geeb","email":"crudmates@gmail.com"},"directories":{},"maintainers":[{"name":"geeb","email":"crudmates@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redis-pubsub_0.0.9_1732087123937_0.5120147224963829"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-05T13:54:41.851Z","modified":"2024-11-20T07:18:44.352Z","0.0.1":"2024-10-05T13:54:42.237Z","0.0.2":"2024-10-05T19:05:45.622Z","0.0.3":"2024-10-27T22:34:26.638Z","0.0.4":"2024-10-27T23:33:57.180Z","0.0.5":"2024-10-28T00:09:09.715Z","0.0.6":"2024-11-19T21:27:31.485Z","0.0.7":"2024-11-19T21:30:08.761Z","0.0.8":"2024-11-19T21:35:53.283Z","0.0.9":"2024-11-20T07:18:44.163Z"},"bugs":{"url":"https://github.com/creativogee/redis-pubsub/issues"},"author":{"name":"Gbenga Omowole","email":"omowole.gbenga@gmail.com"},"license":"MIT","homepage":"https://github.com/creativogee/redis-pubsub#readme","keywords":["nestjs","redis","pubsub","event","messaging","streams"],"repository":{"type":"git","url":"git+https://github.com/creativogee/redis-pubsub.git"},"description":"A Redis-based Pub/Sub module for NestJS applications.","maintainers":[{"name":"geeb","email":"crudmates@gmail.com"}],"readme":"<h1 align=\"center\">\n  @crudmates/redis-pubsub\n</h1>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@crudmates/redis-pubsub\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@crudmates/redis-pubsub.svg\"></a>\n  <a href=\"https://www.npmjs.com/package/@crudmates/redis-pubsub\"><img alt=\"NPM downloads\" src=\"https://img.shields.io/npm/dw/@crudmates/redis-pubsub.svg\"></a>\n  <a href=\"https://www.paypal.com/donate?hosted_button_id=Z9NGDEGSC3LPY\" target=\"_blank\"><img src=\"https://img.shields.io/badge/Donate-PayPal-ff3f59.svg\"></a>\n</p>\n\nA Redis-based Pub/Sub module for NestJS applications.\n\n## Description\n\nThis package provides a Redis-based Pub/Sub implementation for NestJS applications. It includes both event publishing and subscribing capabilities using Redis streams.\n\n## Installation\n\n```sh\nnpm install @crudmates/redis-pubsub\n```\n\n## Usage\n\n### Import the module\n\n```typescript\nimport { Module } from '@nestjs/common';\nimport { RedisPubSubModule } from '@crudmates/redis-pubsub';\n\n@Module({\n  imports: [\n    RedisPubSubModule.forRoot({\n      redisUrl: 'redis://localhost:6379',\n      streamKey: 'events',\n    }),\n  ],\n})\nexport class AppModule {}\n```\n\n### Publish an event\n\n```typescript\nimport { Injectable } from '@nestjs/common';\nimport { RedisPubSub } from '@crudmates/redis-pubsub';\n\n@Injectable()\nexport class PubsubPublisherService {\n  constructor(private readonly publisher: RedisPubSub) {}\n\n  async orderCreated() {\n    await this.publisher.emit('order.created', { id: 1 });\n  }\n}\n```\n\n### Subscribe to an event\n\n```typescript\nimport { Injectable, OnModuleInit } from '@nestjs/common';\nimport { RedisPubSub } from '@crudmates/redis-pubsub';\n\n@Injectable()\nexport class PubsubSubscriberService implements OnModuleInit {\n  constructor(private readonly subscriber: RedisPubSub) {}\n\n  onModuleInit() {\n    this.subscriber.init('order-service');\n    this.subscriber.on('order.created', this.handleOrderCreated.bind(this));\n  }\n\n  async handleOrderCreated(event: string, data: any) {\n    // Handle the event\n  }\n}\n```\n\n## License\n\nThis package is licensed under the [MIT license](LICENSE).\n\n## Support the Project\n\nLove this package? Show your support by giving us a ⭐ on GitHub! Feeling extra generous? You can [buy us coffee](https://www.paypal.com/donate?hosted_button_id=Z9NGDEGSC3LPY) to keep us fueled for more coding adventures!☕️\n","readmeFilename":"README.md"}