{"_id":"@bernierllc/neverhub-adapter","_rev":"10-beba78c4cd7c42bc2aebca1f07fd1226","name":"@bernierllc/neverhub-adapter","dist-tags":{"latest":"0.4.1"},"versions":{"0.1.1":{"name":"@bernierllc/neverhub-adapter","version":"0.1.1","keywords":["neverhub","service-discovery","event-bus","microservices","adapter","integration","bernierllc"],"author":{"name":"Bernier LLC"},"license":"MIT","_id":"@bernierllc/neverhub-adapter@0.1.1","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernier-llc/tools#readme","bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"dist":{"shasum":"6c0fad7fad0f943f0232c661c3daaec66a503431","tarball":"https://registry.npmjs.org/@bernierllc/neverhub-adapter/-/neverhub-adapter-0.1.1.tgz","fileCount":56,"integrity":"sha512-MzMbA5DIjSGOvr60PN84X5IAyetWU/vOW/OVIoAdds2IdqAGtfzHu9x+gy1nODQRPO6VmfNDtpAk+sZjjhAeNg==","signatures":[{"sig":"MEUCIGG38IVp5oNKPoyXfsdqt7L9oaybjxupCMojdP4CO2jbAiEAgxLwUZrjW2YubDDJOujvrYOjA/X/SEdESbdJvehIPrs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":234779},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f6689c9b9bed610bec1007a94732295b5c0fa6d7","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rimraf dist","test:run":"jest --passWithNoTests","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"mkbernier","email":"mkbernier@gmail.com"},"repository":{"url":"git+https://github.com/bernier-llc/tools.git","type":"git"},"_npmVersion":"11.4.2","description":"Standardized adapter for integrating BernierLLC packages with NeverHub service discovery and event bus system","directories":{},"_nodeVersion":"24.4.1","dependencies":{"node-fetch":"^3.3.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.0","typescript":"^5.0.0","@types/jest":"^29.5.14","@types/node":"^20.0.0"},"peerDependencies":{"@types/node-fetch":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/neverhub-adapter_0.1.1_1756507728113_0.08125159142842642","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@bernierllc/neverhub-adapter","version":"0.1.2","keywords":["neverhub","service-discovery","event-bus","microservices","adapter","integration","bernierllc"],"author":{"name":"Bernier LLC"},"license":"MIT","_id":"@bernierllc/neverhub-adapter@0.1.2","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernier-llc/tools#readme","bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"dist":{"shasum":"5a29d6dfa0d79f0f3efb8ee591dfe3191ff84a65","tarball":"https://registry.npmjs.org/@bernierllc/neverhub-adapter/-/neverhub-adapter-0.1.2.tgz","fileCount":56,"integrity":"sha512-uSiBKt0tbRPcH6HaRbtSE6aY9FH84T9O/iuhd0Ud/eceiMNTTq7+LXgDfT1lzumCeQnMnWm7y8mtKOSGPtkSpw==","signatures":[{"sig":"MEUCIQD4IW2YASWvJLx1pMq4PKx9FUSCpwZtypIDkaKvpHm9MQIgNBGDUCCtYfwngVdRU1DfkxAUTs1OkyRr40RU5uuc+Wc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":234973},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"3248f561b416ec490500788b6c8ff78c13b32f16","scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rimraf dist","test:run":"jest --passWithNoTests","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"mkbernier","email":"mkbernier@gmail.com"},"repository":{"url":"git+https://github.com/bernier-llc/tools.git","type":"git"},"_npmVersion":"11.6.2","description":"Standardized adapter for integrating BernierLLC packages with NeverHub service discovery and event bus system","directories":{},"_nodeVersion":"25.2.1","dependencies":{"node-fetch":"^3.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.0","typescript":"^5.0.0","@types/jest":"^29.5.14","@types/node":"^20.0.0"},"peerDependencies":{"@types/node-fetch":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/neverhub-adapter_0.1.2_1764720329663_0.7333872697554129","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@bernierllc/neverhub-adapter","version":"0.1.4","keywords":["neverhub","service-discovery","event-bus","microservices","adapter","integration","bernierllc"],"author":{"name":"Bernier LLC"},"license":"MIT","_id":"@bernierllc/neverhub-adapter@0.1.4","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernier-llc/tools#readme","bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"dist":{"shasum":"b26d149642ccbcec2311cb3fd4ee553d3f39a2b5","tarball":"https://registry.npmjs.org/@bernierllc/neverhub-adapter/-/neverhub-adapter-0.1.4.tgz","fileCount":57,"integrity":"sha512-TRxf2L9AibZu8VBncs9hg7J6hduve5z3f+mOGXPqVHfeN8oYfKX+nV6nUyjfHSNaApHwxJ5GRM3IwW0DPeL0xw==","signatures":[{"sig":"MEUCIBn8UtM8rk/8c7CtkJPOpZMdzXi0ZWNCe58x06HG0l3/AiEAr0FFZAVYogve/9ifgn43y1gEqJ1QH3ZqQfS/Sosb+iw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":237923},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"af7e74b3715d56d3a193e1bb6743b337c2b0df6d","scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rimraf dist","test:run":"jest --passWithNoTests","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43122f19-1e09-4afd-8967-af8db9b9e548"}},"repository":{"url":"git+https://github.com/bernier-llc/tools.git","type":"git"},"_npmVersion":"lerna/9.0.3/node@v20.19.6+x64 (linux)","description":"Standardized adapter for integrating BernierLLC packages with NeverHub service discovery and event bus system","directories":{},"_nodeVersion":"20.19.6","dependencies":{"node-fetch":"^3.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.0","typescript":"^5.0.0","@types/jest":"^29.5.14","@types/node":"^20.0.0"},"peerDependencies":{"@types/node-fetch":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/neverhub-adapter_0.1.4_1767642313981_0.8771311666480446","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@bernierllc/neverhub-adapter","version":"0.1.5","keywords":["neverhub","service-discovery","event-bus","microservices","adapter","integration","bernierllc"],"author":{"name":"Bernier LLC"},"license":"MIT","_id":"@bernierllc/neverhub-adapter@0.1.5","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernier-llc/tools#readme","bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"dist":{"shasum":"4edc7999dcc421d13a69102eac87028e85e4f04a","tarball":"https://registry.npmjs.org/@bernierllc/neverhub-adapter/-/neverhub-adapter-0.1.5.tgz","fileCount":57,"integrity":"sha512-QT3m9jCy0H1YGxHyubuyY0msyKSFrVJoqNR6ZpRbSdWuOyYSPAIQSp1MzAImJ2Vrvba1iE3NK71YVbSAqE+T8Q==","signatures":[{"sig":"MEUCIQDXGcgZsOhHEx6QmADQmOCr/uidvbQunH8jSKnCKEg+VQIgYTaCTo9dYs+Nqcp8z1Zu9OZflZvX90gGxG/OoliMZE8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":238082},"main":"dist/index.js","_from":"file:bernierllc-neverhub-adapter-0.1.5.tgz","types":"dist/index.d.ts","scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rimraf dist","test:run":"jest --passWithNoTests","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"mkbernier","email":"mkbernier@gmail.com"},"_resolved":"/Users/mattbernier/projects/tools/packages/core/neverhub-adapter/bernierllc-neverhub-adapter-0.1.5.tgz","_integrity":"sha512-QT3m9jCy0H1YGxHyubuyY0msyKSFrVJoqNR6ZpRbSdWuOyYSPAIQSp1MzAImJ2Vrvba1iE3NK71YVbSAqE+T8Q==","repository":{"url":"git+https://github.com/bernier-llc/tools.git","type":"git"},"_npmVersion":"11.6.2","description":"Standardized adapter for integrating BernierLLC packages with NeverHub service discovery and event bus system","directories":{},"_nodeVersion":"25.2.1","dependencies":{"node-fetch":"^3.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.0","typescript":"^5.0.0","@types/jest":"^29.5.14","@types/node":"^20.0.0"},"peerDependencies":{"@types/node-fetch":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/neverhub-adapter_0.1.5_1772569538564_0.7596824869901775","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@bernierllc/neverhub-adapter","version":"0.1.6","keywords":["neverhub","service-discovery","event-bus","microservices","adapter","integration","bernierllc"],"author":{"name":"Bernier LLC"},"license":"MIT","_id":"@bernierllc/neverhub-adapter@0.1.6","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernier-llc/tools#readme","bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"dist":{"shasum":"56ef5b670b5d60c86f7e8b28e0c178bdd3f0073e","tarball":"https://registry.npmjs.org/@bernierllc/neverhub-adapter/-/neverhub-adapter-0.1.6.tgz","fileCount":57,"integrity":"sha512-fVxmUUf85eXZ/Oroh9L5NZQbtJLSqo+S3+FkIFNhApqVeHLzaFbGtOsWewy8AHh+L/bt4/0Tp0tYFVGF8QC4Bw==","signatures":[{"sig":"MEUCIESlimSclHHROj0wdUK39X8m7jnfRPS/Ww1sorP6hSfcAiEA+DBsdAqJNTktOpuF6BU/Ix0uySmuRwKB/4ekx7qCoRc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":238299},"main":"dist/index.js","_from":"file:bernierllc-neverhub-adapter-0.1.6.tgz","types":"dist/index.d.ts","scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rimraf dist","test:run":"jest --passWithNoTests","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43122f19-1e09-4afd-8967-af8db9b9e548"}},"_resolved":"/tmp/65aca393919e397be48b757bba7cc55e/bernierllc-neverhub-adapter-0.1.6.tgz","_integrity":"sha512-fVxmUUf85eXZ/Oroh9L5NZQbtJLSqo+S3+FkIFNhApqVeHLzaFbGtOsWewy8AHh+L/bt4/0Tp0tYFVGF8QC4Bw==","repository":{"url":"git+https://github.com/bernier-llc/tools.git","type":"git"},"_npmVersion":"11.11.0","description":"Standardized adapter for integrating BernierLLC packages with NeverHub service discovery and event bus system","directories":{},"_nodeVersion":"20.20.0","dependencies":{"node-fetch":"^3.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.0","typescript":"^5.0.0","@types/jest":"^29.5.14","@types/node":"^20.0.0"},"peerDependencies":{"@types/node-fetch":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/neverhub-adapter_0.1.6_1773081213480_0.6152417729426443","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@bernierllc/neverhub-adapter","version":"0.2.0","keywords":["neverhub","service-discovery","event-bus","microservices","adapter","integration","bernierllc"],"author":{"name":"Bernier LLC"},"license":"MIT","_id":"@bernierllc/neverhub-adapter@0.2.0","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernier-llc/tools#readme","bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"dist":{"shasum":"7a3ec450e0f98f54f284580822e66b8972668584","tarball":"https://registry.npmjs.org/@bernierllc/neverhub-adapter/-/neverhub-adapter-0.2.0.tgz","fileCount":43,"integrity":"sha512-JY5d6+rN70kXYQLZodKXZMOGaaDrGxTIQR/ihFFVB9eNk8bLZqcQiqrunx3Hzd2aLnwzW2PxK/7MDOk/CtkYWQ==","signatures":[{"sig":"MEUCIQDKryrJR+86E83r954sTV4f/O98Df7dhcjedXxllZ3sewIgdjk3+TLVY1xPr3jcqsbeiJIEZS5bVgiypJ5IdwRRQbE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":137697},"main":"dist/index.js","_from":"file:bernierllc-neverhub-adapter-0.2.0.tgz","types":"dist/index.d.ts","scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rimraf dist","test:run":"jest --passWithNoTests","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43122f19-1e09-4afd-8967-af8db9b9e548"}},"_resolved":"/home/runner/work/tools/tools/packages/core/neverhub-adapter/bernierllc-neverhub-adapter-0.2.0.tgz","_integrity":"sha512-JY5d6+rN70kXYQLZodKXZMOGaaDrGxTIQR/ihFFVB9eNk8bLZqcQiqrunx3Hzd2aLnwzW2PxK/7MDOk/CtkYWQ==","repository":{"url":"git+https://github.com/bernier-llc/tools.git","type":"git"},"_npmVersion":"11.14.1","description":"Standardized adapter for integrating BernierLLC packages with NeverHub service discovery and event bus system","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.0","typescript":"^5.0.0","@types/jest":"^29.5.14","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/neverhub-adapter_0.2.0_1779221384398_0.4845825186253627","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@bernierllc/neverhub-adapter","version":"0.3.0","keywords":["neverhub","service-discovery","event-bus","microservices","adapter","integration","bernierllc"],"author":{"name":"Bernier LLC"},"license":"MIT","_id":"@bernierllc/neverhub-adapter@0.3.0","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernier-llc/tools#readme","bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"dist":{"shasum":"3ba53ae72d7dce90272d56a3fb2016d03e9cc332","tarball":"https://registry.npmjs.org/@bernierllc/neverhub-adapter/-/neverhub-adapter-0.3.0.tgz","fileCount":43,"integrity":"sha512-xzJtSiYF1A4CsvJwtWIIGCUKUZruwd+Y7IspETlPGln+SXpvASP9Ilz9/ad2jQZPzV2f+bfMC5o7NhHi8zosbw==","signatures":[{"sig":"MEUCIQC4IyrCr6OU2p0OFtnDkGqVsfD9WlLmfWoUZP9eV7JBoQIgZqbfTfksfvICPQDt7O8VS/FwOcL/olshRx+FzvOrFbo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":137697},"main":"dist/index.js","_from":"file:bernierllc-neverhub-adapter-0.3.0.tgz","types":"dist/index.d.ts","scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rimraf dist","test:run":"jest --passWithNoTests","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43122f19-1e09-4afd-8967-af8db9b9e548"}},"_resolved":"/home/runner/work/tools/tools/packages/core/neverhub-adapter/bernierllc-neverhub-adapter-0.3.0.tgz","_integrity":"sha512-xzJtSiYF1A4CsvJwtWIIGCUKUZruwd+Y7IspETlPGln+SXpvASP9Ilz9/ad2jQZPzV2f+bfMC5o7NhHi8zosbw==","repository":{"url":"git+https://github.com/bernier-llc/tools.git","type":"git"},"_npmVersion":"11.14.1","description":"Standardized adapter for integrating BernierLLC packages with NeverHub service discovery and event bus system","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.0","typescript":"^5.0.0","@types/jest":"^29.5.14","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/neverhub-adapter_0.3.0_1779241294417_0.5592945849909845","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@bernierllc/neverhub-adapter","version":"0.4.0","keywords":["neverhub","service-discovery","event-bus","microservices","adapter","integration","bernierllc"],"author":{"name":"Bernier LLC"},"license":"MIT","_id":"@bernierllc/neverhub-adapter@0.4.0","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernier-llc/tools#readme","bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"dist":{"shasum":"6fc573b8014a07462d4520cfba31fbb6d9f021e2","tarball":"https://registry.npmjs.org/@bernierllc/neverhub-adapter/-/neverhub-adapter-0.4.0.tgz","fileCount":43,"integrity":"sha512-VKsnmb/o94qnRJESLxT/Qvw4ByjiY6iFaoxcCzIHTc7pjCtDQ/fQe7hJQE9MPRZNZSciRX/3lMUeDS7KsxV8QQ==","signatures":[{"sig":"MEUCICTXqW3mT7lPw+Du1+wcE+uIEUZ901rg4a6oyR3rOCoUAiEA1+4JCunD6guLiKYAEpL6ozjD1ifqdoQypx49+PeAOjs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":137697},"main":"dist/index.js","_from":"file:bernierllc-neverhub-adapter-0.4.0.tgz","types":"dist/index.d.ts","scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rimraf dist","test:run":"jest --passWithNoTests","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43122f19-1e09-4afd-8967-af8db9b9e548"}},"_resolved":"/home/runner/work/tools/tools/packages/core/neverhub-adapter/bernierllc-neverhub-adapter-0.4.0.tgz","_integrity":"sha512-VKsnmb/o94qnRJESLxT/Qvw4ByjiY6iFaoxcCzIHTc7pjCtDQ/fQe7hJQE9MPRZNZSciRX/3lMUeDS7KsxV8QQ==","repository":{"url":"git+https://github.com/bernier-llc/tools.git","type":"git"},"_npmVersion":"11.14.1","description":"Standardized adapter for integrating BernierLLC packages with NeverHub service discovery and event bus system","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.0","typescript":"^5.0.0","@types/jest":"^29.5.14","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/neverhub-adapter_0.4.0_1779250044155_0.4310852035541375","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@bernierllc/neverhub-adapter","version":"0.4.1","description":"Standardized adapter for integrating BernierLLC packages with NeverHub service discovery and event bus system","main":"dist/index.js","types":"dist/index.d.ts","keywords":["neverhub","service-discovery","event-bus","microservices","adapter","integration","bernierllc"],"author":{"name":"Bernier LLC"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bernier-llc/tools.git"},"devDependencies":{"@types/jest":"^29.5.14","@types/node":"^20.0.0","eslint":"^8.0.0","jest":"^29.5.0","rimraf":"^5.0.0","ts-jest":"^29.4.0","typescript":"^5.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"scripts":{"build":"tsc","dev":"tsc --watch","test":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","test:run":"jest --passWithNoTests","lint":"eslint src/**/*.ts","clean":"rimraf dist"},"_id":"@bernierllc/neverhub-adapter@0.4.1","bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"homepage":"https://github.com/bernier-llc/tools#readme","_integrity":"sha512-1McuJVzWK3C5ZDipuwPVEvN7582Rf91nBo9SENRt1GFZDD1yI0r1Vz1qEGAruLGHnGeFRMONS+HYGZEeUiGTbw==","_resolved":"/home/runner/work/tools/tools/packages/core/neverhub-adapter/bernierllc-neverhub-adapter-0.4.1.tgz","_from":"file:bernierllc-neverhub-adapter-0.4.1.tgz","_nodeVersion":"24.18.0","_npmVersion":"12.0.1","dist":{"integrity":"sha512-1McuJVzWK3C5ZDipuwPVEvN7582Rf91nBo9SENRt1GFZDD1yI0r1Vz1qEGAruLGHnGeFRMONS+HYGZEeUiGTbw==","shasum":"2523a484198cd981a1bf1f6d0a434240a87481cf","tarball":"https://registry.npmjs.org/@bernierllc/neverhub-adapter/-/neverhub-adapter-0.4.1.tgz","fileCount":43,"unpackedSize":137697,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCUvVItQgyGG+jHcn1UuaKvbpSjJoX0ktvSjQ4HM4BWIQIgDK7rgHUTjLCMylI/rrf2pPymi8a2dykePsBHmhcq0cg="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43122f19-1e09-4afd-8967-af8db9b9e548"}},"directories":{},"maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/neverhub-adapter_0.4.1_1784015665082_0.3729147494513634"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-29T22:48:48.000Z","modified":"2026-07-14T07:54:25.347Z","0.1.1":"2025-08-29T22:48:48.305Z","0.1.2":"2025-12-03T00:05:29.846Z","0.1.4":"2026-01-05T19:45:14.139Z","0.1.5":"2026-03-03T20:25:38.717Z","0.1.6":"2026-03-09T18:33:33.636Z","0.2.0":"2026-05-19T20:09:44.528Z","0.3.0":"2026-05-20T01:41:34.678Z","0.4.0":"2026-05-20T04:07:24.361Z","0.4.1":"2026-07-14T07:54:25.215Z"},"bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"author":{"name":"Bernier LLC"},"license":"MIT","homepage":"https://github.com/bernier-llc/tools#readme","keywords":["neverhub","service-discovery","event-bus","microservices","adapter","integration","bernierllc"],"repository":{"type":"git","url":"git+https://github.com/bernier-llc/tools.git"},"description":"Standardized adapter for integrating BernierLLC packages with NeverHub service discovery and event bus system","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"readme":"# @bernierllc/neverhub-adapter\n\nStandardized adapter for integrating BernierLLC packages with NeverHub service discovery and event bus system.\n\n## Installation\n\n```bash\nnpm install @bernierllc/neverhub-adapter\n```\n\n## Features\n\n- **Auto-Detection**: Automatically detects if NeverHub is available in the environment\n- **Service Registration**: Register package capabilities and dependencies with service discovery\n- **Event System**: Publish/subscribe to events across packages in the ecosystem\n- **Service Discovery**: Find and use other packages dynamically\n- **Health Monitoring**: Report package health status and metrics\n- **Configuration**: Load configuration and connection strings from NeverHub\n- **Graceful Degradation**: Full functionality when NeverHub is unavailable\n\n## Quick Start\n\n### Basic Integration\n\n```typescript\nimport { NeverHubAdapter } from '@bernierllc/neverhub-adapter';\n\nexport class MyPackage {\n  private neverhub?: NeverHubAdapter;\n\n  async initialize(): Promise<void> {\n    // Auto-detect NeverHub\n    if (await NeverHubAdapter.detect()) {\n      this.neverhub = new NeverHubAdapter();\n      \n      // Register with NeverHub\n      await this.neverhub.register({\n        type: 'my-package',\n        name: '@bernierllc/my-package',\n        version: '1.0.0',\n        capabilities: [\n          { type: 'data', name: 'processing', version: '1.0.0' }\n        ],\n        dependencies: ['logging']\n      });\n    }\n\n    await this.initializeCore();\n  }\n}\n```\n\n### Event Publishing\n\n```typescript\n// Safe event publishing - works even when NeverHub is unavailable\nawait this.neverhub?.publishEvent({\n  type: 'data.processed',\n  data: { recordId: '123', status: 'success' },\n  source: 'my-package'\n});\n```\n\n### Event Subscription\n\n```typescript\n// Subscribe to events with pattern matching\nconst unsubscribe = await this.neverhub?.subscribe('user.*', async (event) => {\n  console.log('User event received:', event);\n});\n\n// Clean up subscription when done\n// unsubscribe?.();\n```\n\n### Service Discovery\n\n```typescript\n// Find services by capability\nconst services = await this.neverhub?.discover({\n  capabilityTypes: ['logging']\n});\n\nif (services?.available.includes('structured-logging')) {\n  const logger = await this.neverhub.getService('structured-logging');\n  // Use the logger service\n}\n```\n\n### Configuration Management\n\n```typescript\n// Load configuration with defaults\nconst config = await this.neverhub?.getConfiguration('my-package', {\n  logging: { level: 'info' },\n  retries: 3\n});\n\n// Get connection strings\nconst dbConnection = await this.neverhub?.getConnectionString('my-package', 'database');\n```\n\n### Health Checks and Metrics\n\n```typescript\n// Register health check\nawait this.neverhub?.registerHealthCheck('my-package', async () => {\n  return {\n    healthy: this.isOperational(),\n    message: 'Service is running normally',\n    metadata: { uptime: process.uptime() }\n  };\n});\n\n// Report metrics\nawait this.neverhub?.reportMetric('my-package', {\n  name: 'requests_total',\n  value: 100,\n  type: MetricType.COUNTER,\n  labels: { status: 'success' }\n});\n```\n\n## API Reference\n\n### NeverHubAdapter Class\n\n#### Static Methods\n\n- `static detect(): Promise<boolean>` - Detect if NeverHub is available\n\n#### Instance Methods\n\n##### Core Methods\n- `initialize(): Promise<boolean>` - Initialize the adapter\n- `register(registration: PackageRegistration): Promise<void>` - Register package\n- `getState(): AdapterState` - Get current adapter state\n- `isAvailable(): boolean` - Check if NeverHub is available\n- `isInitialized(): boolean` - Check if adapter is initialized\n- `isRegistered(): boolean` - Check if package is registered\n\n##### Event Methods\n- `publishEvent(event: Event): Promise<void>` - Publish event\n- `subscribe(pattern: string, handler: EventHandler): Promise<() => void>` - Subscribe to events\n\n##### Discovery Methods\n- `discover(criteria: DiscoveryCriteria): Promise<ServiceDiscoveryResult>` - Discover services\n- `getService(serviceName: string): Promise<any>` - Get specific service\n\n##### Configuration Methods\n- `getConfiguration(packageName: string, defaults?: any): Promise<any>` - Get configuration\n- `getConnectionString(packageName: string, connectionName: string): Promise<string | null>` - Get connection string\n- `getEnvironmentConfiguration(packageName: string, environment: string, defaults?: any): Promise<any>` - Get environment-specific configuration\n\n##### Health Methods\n- `registerHealthCheck(packageName: string, checkFn: HealthCheckFunction): Promise<void>` - Register health check\n- `reportMetric(packageName: string, metric: Metric): Promise<void>` - Report metric\n\n### Configuration\n\nThe adapter can be configured with environment variables:\n\n- `NEVERHUB_API_URL` - Custom NeverHub API URL\n- `NEVERHUB_ENDPOINT` - Alternative endpoint specification\n- `NEVERHUB_HOST` - Host-only specification (protocol will be added)\n\nOr programmatically:\n\n```typescript\nconst adapter = new NeverHubAdapter({\n  apiUrl: 'http://custom.neverhub.com:3001',\n  timeout: 5000,\n  maxRetries: 5,\n  debug: true\n});\n```\n\n### Types\n\n#### PackageRegistration\n```typescript\ninterface PackageRegistration {\n  type: string;                    // Package type identifier\n  name: string;                    // Full package name including scope\n  version: string;                 // Semantic version\n  dependencies: string[];          // List of dependency package names\n  capabilities: Capability[];      // List of capabilities provided\n  discoveryEnabled?: boolean;      // Whether discoverable by others\n  discoverySubscriptions?: DiscoverySubscription[];\n  webhookUrl?: string;            // Optional webhook URL\n}\n```\n\n#### Event\n```typescript\ninterface Event {\n  type: string;                   // Event type identifier\n  data: any;                      // Event payload\n  source?: string;                // Source package identifier\n  timestamp?: string;             // Event timestamp (ISO string)\n  metadata?: Record<string, any>; // Additional metadata\n}\n```\n\n#### Capability\n```typescript\ninterface Capability {\n  type: string;                   // Capability type (e.g., 'data', 'logging')\n  name: string;                   // Specific capability name\n  version: string;                // Version of the capability interface\n  metadata?: Record<string, any>; // Additional metadata\n}\n```\n\n## Environment Detection\n\nThe adapter automatically detects NeverHub availability through:\n\n1. **Environment Variables**: Checks for `NEVERHUB_API_URL`, `NEVERHUB_ENDPOINT`, or `NEVERHUB_HOST`\n2. **Default Endpoints**: Tests `http://localhost:3001` and `http://neverhub:3001`\n3. **Health Check**: Validates API availability at `/api/health`\n\n## Graceful Degradation\n\nWhen NeverHub is not available, the adapter:\n- Returns default values for configuration requests\n- Silently ignores event publishing attempts\n- Returns empty results for service discovery\n- Logs warnings for debugging but never throws errors\n- Maintains full package functionality\n\n## Error Handling\n\nThe adapter is designed with graceful degradation as a core principle:\n\n- **Never throws errors** due to NeverHub unavailability\n- **Logs warnings** for debugging when operations fail\n- **Returns sensible defaults** when NeverHub data is unavailable\n- **Maintains package functionality** regardless of NeverHub state\n\n## Advanced Usage\n\n### Custom Configuration\n\n```typescript\nconst adapter = new NeverHubAdapter({\n  apiUrl: 'http://my-neverhub.internal:3001',\n  timeout: 10000,\n  maxRetries: 5,\n  debug: process.env.NODE_ENV === 'development'\n});\n```\n\n### Environment-Specific Configuration\n\n```typescript\nconst config = await adapter.getEnvironmentConfiguration(\n  'my-package',\n  process.env.NODE_ENV || 'development',\n  { logging: { level: 'info' } }\n);\n```\n\n### Event Pattern Matching\n\nThe event system supports flexible pattern matching:\n\n- `*` - Matches any event type\n- `user.*` - Matches all user-related events\n- `service.*.created` - Matches creation events from any service\n- `exact.match` - Matches only the exact event type\n\n### Utility Functions\n\nFor advanced use cases, utility functions are exported:\n\n```typescript\nimport {\n  detectNeverHub,\n  publishEvent,\n  discoverServices,\n  validatePackageRegistration\n} from '@bernierllc/neverhub-adapter';\n```\n\n## See Also\n\nThis package integrates with other BernierLLC packages:\n- [@bernierllc/retry-policy](../retry-policy) - Used internally for retry logic\n- [@bernierllc/logging-core](../logging-core) - Can be discovered via service discovery\n\n## License\n\nCopyright (c) 2025 Bernier LLC. All rights reserved.","readmeFilename":"README.md"}