{"_id":"@alt-javascript/boot-hono","_rev":"8-5255ec6b5a3a13281525520447af3f6f","name":"@alt-javascript/boot-hono","dist-tags":{"latest":"3.0.7"},"versions":{"3.0.0":{"name":"@alt-javascript/boot-hono","version":"3.0.0","keywords":["alt-javascript","hono","boot","cdi","dependency-injection","controller","web-standards"],"author":{"name":"Craig Parravicini"},"license":"MIT","_id":"@alt-javascript/boot-hono@3.0.0","maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"contributors":[{"url":"Anthropic","name":"Claude"}],"homepage":"https://github.com/alt-javascript/boot/tree/main/packages/boot-hono#readme","bugs":{"url":"https://github.com/alt-javascript/boot/issues"},"dist":{"shasum":"a63b72f79c5be947129cf609b5250c3572cd0a6c","tarball":"https://registry.npmjs.org/@alt-javascript/boot-hono/-/boot-hono-3.0.0.tgz","fileCount":6,"integrity":"sha512-7yd+Y9ys44kzYH0s2klfPslAwmFXXHPe5gJ9W1dY0kJUAyoX0V/MB6ZAFqnKwNrdzN/m4Jz+E2dZHCQphr1r5g==","signatures":[{"sig":"MEUCIQCw3qSAE/EC5wEHso+sQ/NxQ5wtiRO1q3AYrZBo7a0+kAIgdHeL/zwsiO3vgoKjF3HmmrhiXMZSYKcCyBQTnD93Qmw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13650},"main":"index.js","type":"module","engines":{"node":">=18"},"exports":{".":"./index.js"},"gitHead":"6bc9996e5d4f03d52e441c7d89e4132d0cfbeebb","scripts":{"test":"mocha --recursive test/**/*.spec.js"},"_npmUser":{"name":"craigparra","email":"craigparra@gmail.com"},"repository":{"url":"git+https://github.com/alt-javascript/boot.git","type":"git","directory":"packages/boot-hono"},"_npmVersion":"11.12.0","description":"Hono adapter for @alt-javascript boot — CDI-managed Hono with controller auto-registration","directories":{},"_nodeVersion":"24.14.0","dependencies":{"hono":"^4.0.0","@alt-javascript/cdi":"3.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","mocha":"^11.7.5","@alt-javascript/boot":"3.0.0","@alt-javascript/config":"3.0.0","@alt-javascript/logger":"3.0.0","@alt-javascript/jsdbc-sqljs":"^1.0.0","@alt-javascript/jsdbc-template":"3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/boot-hono_3.0.0_1774062726546_0.5544042344862758","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"@alt-javascript/boot-hono","version":"3.0.1","keywords":["alt-javascript","hono","boot","cdi","dependency-injection","controller","web-standards"],"author":{"name":"Craig Parravicini"},"license":"MIT","_id":"@alt-javascript/boot-hono@3.0.1","maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"contributors":[{"url":"Anthropic","name":"Claude"}],"homepage":"https://github.com/alt-javascript/boot/tree/main/packages/boot-hono#readme","bugs":{"url":"https://github.com/alt-javascript/boot/issues"},"dist":{"shasum":"3abb2e2a6ad9f610db8667944d148c8a8cab3269","tarball":"https://registry.npmjs.org/@alt-javascript/boot-hono/-/boot-hono-3.0.1.tgz","fileCount":6,"integrity":"sha512-snu253h26I2BvDr2NIib8pytPjJCFQ/WEq5tO/jWrFdBwi+DMhU3JccKG3etyfVuvZ0bF0f4gTXI07KPdVMjzw==","signatures":[{"sig":"MEUCIQCJK/5NrXKlwzQyQ1kP59nvA6zOTxR2BitKDUR3T9PHUwIgffa/mt0XXbkSliqI+4EZzU8tJNCElsoG4/gTeKpzZO4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13653},"main":"index.js","type":"module","engines":{"node":">=18"},"exports":{".":"./index.js"},"gitHead":"59023df5b83098ff9e536f4b5821dd38b053d6be","scripts":{"test":"mocha --recursive test/**/*.spec.js"},"_npmUser":{"name":"craigparra","email":"craigparra@gmail.com"},"repository":{"url":"git+https://github.com/alt-javascript/boot.git","type":"git","directory":"packages/boot-hono"},"_npmVersion":"11.12.0","description":"Hono adapter for @alt-javascript boot — CDI-managed Hono with controller auto-registration","directories":{},"_nodeVersion":"24.14.0","dependencies":{"hono":"^4.0.0","@alt-javascript/cdi":"3.0.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","mocha":"^11.7.5","@alt-javascript/boot":"3.0.1","@alt-javascript/config":"3.0.1","@alt-javascript/logger":"3.0.1","@alt-javascript/jsdbc-sqljs":"^1.0.0","@alt-javascript/jsdbc-template":"3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/boot-hono_3.0.1_1774067473321_0.5941518718430354","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"@alt-javascript/boot-hono","version":"3.0.2","keywords":["alt-javascript","hono","boot","cdi","dependency-injection","controller","web-standards"],"author":{"name":"Craig Parravicini"},"license":"MIT","_id":"@alt-javascript/boot-hono@3.0.2","maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"contributors":[{"url":"Anthropic","name":"Claude"}],"homepage":"https://github.com/alt-javascript/boot/tree/main/packages/boot-hono#readme","bugs":{"url":"https://github.com/alt-javascript/boot/issues"},"dist":{"shasum":"b027aaddbbea3060bdf2bc410207d01feebb067f","tarball":"https://registry.npmjs.org/@alt-javascript/boot-hono/-/boot-hono-3.0.2.tgz","fileCount":6,"integrity":"sha512-SAbP+lX/W+6gePpqLg75K2BZ6AUj1+RW3vEide5EagvzI6A3Pqi9xoFGhk7E9OTHzjwSpAD7d1zRAHeceYUo6Q==","signatures":[{"sig":"MEUCIQDgtpH5Um56MbOUxKv8mttX9ANmbJWCCICIJ8J7vmGnKgIgX7KbWv+NN7xEjUmqWLX9J1tJI2oP2uGFsCJSfsBHkjM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13653},"main":"index.js","type":"module","engines":{"node":">=18"},"exports":{".":"./index.js"},"gitHead":"df365b8a2ff98a6a5f18da02ee01007ea5baa69b","scripts":{"test":"mocha --recursive test/**/*.spec.js"},"_npmUser":{"name":"craigparra","email":"craigparra@gmail.com"},"repository":{"url":"git+https://github.com/alt-javascript/boot.git","type":"git","directory":"packages/boot-hono"},"_npmVersion":"11.12.0","description":"Hono adapter for @alt-javascript boot — CDI-managed Hono with controller auto-registration","directories":{},"_nodeVersion":"24.14.0","dependencies":{"hono":"^4.0.0","@alt-javascript/cdi":"3.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","mocha":"^11.7.5","@alt-javascript/boot":"3.0.2","@alt-javascript/config":"3.0.2","@alt-javascript/logger":"3.0.2","@alt-javascript/jsdbc-sqljs":"^1.0.0","@alt-javascript/jsdbc-template":"3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/boot-hono_3.0.2_1774067774030_0.6377934546974251","host":"s3://npm-registry-packages-npm-production"}},"3.0.3":{"name":"@alt-javascript/boot-hono","version":"3.0.3","keywords":["alt-javascript","hono","boot","cdi","dependency-injection","controller","web-standards"],"author":{"name":"Craig Parravicini"},"license":"MIT","_id":"@alt-javascript/boot-hono@3.0.3","maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"contributors":[{"url":"Anthropic","name":"Claude"}],"homepage":"https://github.com/alt-javascript/boot/tree/main/packages/boot-hono#readme","bugs":{"url":"https://github.com/alt-javascript/boot/issues"},"dist":{"shasum":"610bbb3c381c0f47b6255efe41513680b3f283a2","tarball":"https://registry.npmjs.org/@alt-javascript/boot-hono/-/boot-hono-3.0.3.tgz","fileCount":6,"integrity":"sha512-nULsx03OFC9hqmpqpc5yEwbiR8hB5EWXckbuvgYmAjOvJBoDiKtBh0rUR8EVbcx0/cbqkS67Wzn/OrBzw8g5NA==","signatures":[{"sig":"MEQCIAgMhMKpoFkpb7eleVFH5b/fGamo3+ogi13wHLAwFXVzAiAWa9Oh3uHRpmDw07/DsoEdABLsd/rQTStwpAzAZOmusw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13653},"main":"index.js","type":"module","engines":{"node":">=18"},"exports":{".":"./index.js"},"gitHead":"e64fbbad53825fef88c3a0976208f27893822519","scripts":{"test":"mocha --recursive test/**/*.spec.js"},"_npmUser":{"name":"craigparra","email":"craigparra@gmail.com"},"repository":{"url":"git+https://github.com/alt-javascript/boot.git","type":"git","directory":"packages/boot-hono"},"_npmVersion":"11.12.0","description":"Hono adapter for @alt-javascript boot — CDI-managed Hono with controller auto-registration","directories":{},"_nodeVersion":"24.14.0","dependencies":{"hono":"^4.0.0","@alt-javascript/cdi":"3.0.3"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","mocha":"^11.7.5","@alt-javascript/boot":"3.0.3","@alt-javascript/config":"3.0.3","@alt-javascript/logger":"3.0.3","@alt-javascript/jsdbc-sqljs":"^1.0.0","@alt-javascript/jsdbc-template":"3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/boot-hono_3.0.3_1774068662199_0.8387694012235467","host":"s3://npm-registry-packages-npm-production"}},"3.0.4":{"name":"@alt-javascript/boot-hono","version":"3.0.4","keywords":["alt-javascript","hono","boot","cdi","dependency-injection","controller","web-standards"],"author":{"name":"Craig Parravicini"},"license":"MIT","_id":"@alt-javascript/boot-hono@3.0.4","maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"contributors":[{"url":"Anthropic","name":"Claude"}],"homepage":"https://github.com/alt-javascript/boot/tree/main/packages/boot-hono#readme","bugs":{"url":"https://github.com/alt-javascript/boot/issues"},"dist":{"shasum":"4206864078e2415c3313ff63e312d22f1c636586","tarball":"https://registry.npmjs.org/@alt-javascript/boot-hono/-/boot-hono-3.0.4.tgz","fileCount":6,"integrity":"sha512-X50MV9mcCw1B8GwNy+FvuTLRc5+R5TkZSCrjRCTfwfPvZ/IHE0IFXelH7N1wx7g9YkJ96MFW5DcLib/8vWShuA==","signatures":[{"sig":"MEQCIF2NvC3IAENo5NaAvI6hmDCBVnFxMEsW8wM2cgFwIOh2AiA7Afc+FgOuuPGMKAci6O24Eycl0Rh+RTATm9PKY9tJlw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14797},"main":"index.js","type":"module","engines":{"node":">=18"},"exports":{".":"./index.js"},"gitHead":"d8de2e8b94151a92fd0c9259d906dfe6d66e11f5","scripts":{"test":"mocha --recursive test/**/*.spec.js"},"_npmUser":{"name":"craigparra","email":"craigparra@gmail.com"},"repository":{"url":"git+https://github.com/alt-javascript/boot.git","type":"git","directory":"packages/boot-hono"},"_npmVersion":"11.12.0","description":"Hono adapter for @alt-javascript boot — CDI-managed Hono with controller auto-registration","directories":{},"_nodeVersion":"24.14.0","dependencies":{"hono":"^4.0.0","@hono/node-server":"^1.19.11","@alt-javascript/cdi":"3.0.4"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","mocha":"^11.7.5","@alt-javascript/boot":"3.0.4","@alt-javascript/config":"3.0.4","@alt-javascript/logger":"3.0.4","@alt-javascript/boot-jsdbc":"3.0.4","@alt-javascript/jsdbc-sqljs":"^1.0.0","@alt-javascript/jsdbc-template":"*"},"_npmOperationalInternal":{"tmp":"tmp/boot-hono_3.0.4_1774422708201_0.7459089037386273","host":"s3://npm-registry-packages-npm-production"}},"3.0.5":{"name":"@alt-javascript/boot-hono","version":"3.0.5","keywords":["alt-javascript","hono","boot","cdi","dependency-injection","controller","web-standards"],"author":{"name":"Craig Parravicini"},"license":"MIT","_id":"@alt-javascript/boot-hono@3.0.5","maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"contributors":[{"url":"Anthropic","name":"Claude"}],"homepage":"https://github.com/alt-javascript/boot/tree/main/packages/boot-hono#readme","bugs":{"url":"https://github.com/alt-javascript/boot/issues"},"dist":{"shasum":"13067d7479b4ca747efbb504b9eb9aa1e1a67fe1","tarball":"https://registry.npmjs.org/@alt-javascript/boot-hono/-/boot-hono-3.0.5.tgz","fileCount":6,"integrity":"sha512-CZN/CuvdZcPo20A9fRUMSCZS0w93/op/taEgdHD0FPFp3SgYD3Llds8WQ3uyhk7UItAdWDdd6NrYGXnzINpIkw==","signatures":[{"sig":"MEQCIHOBHmQqLq54thO7L7oFyZCgwpKgwmt2T0UsgTpD7/ckAiAjms7bdIbalnQECkmlDXhOXWUoC0HknaFM8F8E5LwnSg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14797},"main":"index.js","type":"module","engines":{"node":">=18"},"exports":{".":"./index.js"},"gitHead":"925db7483dcdfbfdb2571e74d3ae4bbfa494a126","scripts":{"test":"mocha --recursive test/**/*.spec.js"},"_npmUser":{"name":"craigparra","email":"craigparra@gmail.com"},"repository":{"url":"git+https://github.com/alt-javascript/boot.git","type":"git","directory":"packages/boot-hono"},"_npmVersion":"11.12.0","description":"Hono adapter for @alt-javascript boot — CDI-managed Hono with controller auto-registration","directories":{},"_nodeVersion":"24.14.0","dependencies":{"hono":"^4.0.0","@hono/node-server":"^1.19.11","@alt-javascript/cdi":"3.0.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","mocha":"^11.7.5","@alt-javascript/boot":"3.0.5","@alt-javascript/config":"3.0.5","@alt-javascript/logger":"3.0.5","@alt-javascript/boot-jsdbc":"3.0.5","@alt-javascript/jsdbc-sqljs":"^1.0.0","@alt-javascript/jsdbc-template":"*"},"_npmOperationalInternal":{"tmp":"tmp/boot-hono_3.0.5_1774428768296_0.5582396783778374","host":"s3://npm-registry-packages-npm-production"}},"3.0.6":{"name":"@alt-javascript/boot-hono","version":"3.0.6","keywords":["alt-javascript","hono","boot","cdi","dependency-injection","controller","web-standards"],"author":{"name":"Craig Parravicini"},"license":"MIT","_id":"@alt-javascript/boot-hono@3.0.6","maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"contributors":[{"url":"Anthropic","name":"Claude"}],"homepage":"https://github.com/alt-javascript/boot/tree/main/packages/boot-hono#readme","bugs":{"url":"https://github.com/alt-javascript/boot/issues"},"dist":{"shasum":"44b703ac228156aa5aa13d3eb3120edeacae7d28","tarball":"https://registry.npmjs.org/@alt-javascript/boot-hono/-/boot-hono-3.0.6.tgz","fileCount":6,"integrity":"sha512-ZUKMA+vxRrYDWml/4Ovq64m6TzSo3zTxchS+wvDT2R25VByKabVfnWwfaTKHthYoGGbUX8fiifaUbcm5deg/hQ==","signatures":[{"sig":"MEUCIQDziM/HlwiCU3ebW78wKPhnIQR9KEu/QH6oon5Qe2xzAgIgWUaGPMOUO48HnW+/Efuuj9JwypoDA0Ovali2tqmlqaM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14797},"main":"index.js","type":"module","engines":{"node":">=20"},"exports":{".":"./index.js"},"gitHead":"ba43e8807bc28583f98edddce84849875544bd51","scripts":{"test":"mocha --recursive test/**/*.spec.js"},"_npmUser":{"name":"craigparra","email":"craigparra@gmail.com"},"repository":{"url":"git+https://github.com/alt-javascript/boot.git","type":"git","directory":"packages/boot-hono"},"_npmVersion":"11.12.1","description":"Hono adapter for @alt-javascript boot — CDI-managed Hono with controller auto-registration","directories":{},"_nodeVersion":"24.14.0","dependencies":{"hono":"^4.0.0","@hono/node-server":"^1.19.11","@alt-javascript/cdi":"3.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","mocha":"^11.7.5","@alt-javascript/boot":"3.0.6","@alt-javascript/config":"3.0.6","@alt-javascript/logger":"3.0.6","@alt-javascript/boot-jsdbc":"3.0.6","@alt-javascript/jsdbc-sqljs":"^1.0.0","@alt-javascript/jsdbc-template":"*"},"_npmOperationalInternal":{"tmp":"tmp/boot-hono_3.0.6_1774553427661_0.9032192150035752","host":"s3://npm-registry-packages-npm-production"}},"3.0.7":{"name":"@alt-javascript/boot-hono","version":"3.0.7","description":"Hono adapter for @alt-javascript boot — CDI-managed Hono with controller auto-registration","type":"module","main":"index.js","exports":{".":"./index.js"},"author":{"name":"Craig Parravicini"},"contributors":[{"name":"Claude","url":"Anthropic"},{"name":"Spring Framework","url":"VMware/Broadcom"}],"keywords":["alt-javascript","hono","boot","cdi","dependency-injection","controller","web-standards"],"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"scripts":{"test":"mocha --recursive test/**/*.spec.js"},"dependencies":{"@alt-javascript/cdi":"3.0.7","@hono/node-server":"^1.19.11","hono":"^4.0.0"},"devDependencies":{"@alt-javascript/boot":"3.0.7","@alt-javascript/config":"3.0.7","@alt-javascript/jsdbc-sqljs":"^1.0.0","@alt-javascript/jsdbc-template":"*","@alt-javascript/logger":"3.0.7","chai":"^4.3.7","mocha":"^11.7.5","@alt-javascript/boot-jsdbc":"3.0.7"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/alt-javascript/boot.git","directory":"packages/boot-hono"},"homepage":"https://github.com/alt-javascript/boot/tree/main/packages/boot-hono#readme","bugs":{"url":"https://github.com/alt-javascript/boot/issues"},"engines":{"node":">=20"},"gitHead":"01bd2e99058af03b3213c09c07ba87985bfeeeca","_id":"@alt-javascript/boot-hono@3.0.7","_nodeVersion":"24.14.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-AoOhAV6poanxuuTNR2wVLO/1qMklaSBy7TYuPgCFKqi1Wq6hA0xHaWWZxd67pYM2GMLbB9XA83hkhwE8dIQ+Yg==","shasum":"f9e680c18d167d23da9bf576456091a5f3bb902f","tarball":"https://registry.npmjs.org/@alt-javascript/boot-hono/-/boot-hono-3.0.7.tgz","fileCount":6,"unpackedSize":18819,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDMrOyo3W/CPMB2l7JayjIc7WcbUMUxTapx1AaWQ7/8+QIhAOe+hXWrFcpzQlXRZBuP75vphGG9nLVcTCf410XiRqU6"}]},"_npmUser":{"name":"craigparra","email":"craigparra@gmail.com"},"directories":{},"maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/boot-hono_3.0.7_1774553616250_0.8144832679793597"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-21T03:12:06.476Z","modified":"2026-03-26T19:33:36.554Z","3.0.0":"2026-03-21T03:12:06.688Z","3.0.1":"2026-03-21T04:31:13.457Z","3.0.2":"2026-03-21T04:36:14.191Z","3.0.3":"2026-03-21T04:51:02.350Z","3.0.4":"2026-03-25T07:11:48.368Z","3.0.5":"2026-03-25T08:52:48.435Z","3.0.6":"2026-03-26T19:30:27.800Z","3.0.7":"2026-03-26T19:33:36.434Z"},"bugs":{"url":"https://github.com/alt-javascript/boot/issues"},"author":{"name":"Craig Parravicini"},"license":"MIT","homepage":"https://github.com/alt-javascript/boot/tree/main/packages/boot-hono#readme","keywords":["alt-javascript","hono","boot","cdi","dependency-injection","controller","web-standards"],"repository":{"type":"git","url":"git+https://github.com/alt-javascript/boot.git","directory":"packages/boot-hono"},"description":"Hono adapter for @alt-javascript boot — CDI-managed Hono with controller auto-registration","contributors":[{"name":"Claude","url":"Anthropic"},{"name":"Spring Framework","url":"VMware/Broadcom"}],"maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"readme":"# @alt-javascript/boot-hono\n\n[![Language](https://img.shields.io/badge/language-JavaScript-yellow.svg)](https://developer.mozilla.org/en-US/docs/Web/JavaScript)\n[![npm version](https://img.shields.io/npm/v/%40alt-javascript%2Fboot-hono)](https://www.npmjs.com/package/@alt-javascript/boot-hono)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![CI](https://github.com/alt-javascript/boot/actions/workflows/node.js.yml/badge.svg)](https://github.com/alt-javascript/boot/actions/workflows/node.js.yml)\n\nHono adapter for the `@alt-javascript` framework. Bridges CDI-managed controllers to Hono's Web Standards routing with a CDI middleware pipeline for cross-cutting concerns.\n\nHono supports Node.js, Bun, Deno, and Cloudflare Workers via the same codebase.\n\n**Part of the [@alt-javascript](https://github.com/alt-javascript/boot) monorepo.**\n\n## Install\n\n```bash\nnpm install @alt-javascript/boot-hono hono\n# For Node.js:\nnpm install @hono/node-server\n```\n\n## Usage\n\n```javascript\nimport { Boot } from '@alt-javascript/boot';\nimport { Context, Singleton } from '@alt-javascript/cdi';\nimport { honoStarter } from '@alt-javascript/boot-hono';\n\nclass TodoController {\n  static __routes = [\n    { method: 'GET',  path: '/todos',     handler: 'list'   },\n    { method: 'POST', path: '/todos',     handler: 'create' },\n    { method: 'GET',  path: '/todos/:id', handler: 'get'    },\n  ];\n\n  constructor() { this.todoService = null; } // autowired\n\n  async list(request)   { return this.todoService.findAll(); }\n  async create(request) { return this.todoService.create(request.body); }\n  async get(request)    { return this.todoService.findById(request.params.id); }\n}\n\nconst context = new Context([\n  ...honoStarter(),\n  new Singleton(TodoService),\n  new Singleton(TodoController),\n]);\n\nawait Boot.boot({ contexts: [context] });\n```\n\nControllers receive a normalised request object `{ params, query, headers, body, ctx, honoCtx }`. Return a plain object for a 200 JSON response, or `{ statusCode, body }` for explicit status control.\n\n## Middleware Pipeline\n\n`honoStarter()` registers three built-in middleware components automatically:\n\n| Component | Order | Behaviour |\n|---|---|---|\n| `RequestLoggerMiddleware` | 10 | Logs `[METHOD] /path → status (Xms)` |\n| `ErrorHandlerMiddleware` | 20 | Converts thrown errors to JSON error responses |\n| `NotFoundMiddleware` | 30 | Returns 404 for unmatched routes |\n\nAdd custom middleware by declaring `static __middleware = { order: N }`:\n\n```javascript\nclass AuthMiddleware {\n  static __middleware = { order: 5 };\n\n  async handle(request, next) {\n    const token = request.headers.authorization?.replace('Bearer ', '');\n    if (!token) return { statusCode: 401, body: { error: 'Unauthorized' } };\n    return next({ ...request, user: { token } });\n  }\n}\n```\n\n## Configuration\n\n| Key | Default | Description |\n|---|---|---|\n| `server.port` | `3000` | Port to listen on |\n| `server.host` | `0.0.0.0` | Host to bind |\n| `middleware.requestLogger.enabled` | `true` | Enable request logging |\n| `middleware.errorHandler.enabled` | `true` | Enable error handler |\n| `middleware.notFound.enabled` | `true` | Enable 404 handler |\n\n## Testing\n\nUse `app.request()` for testing without a network:\n\n```javascript\nconst app = appCtx.get('honoAdapter').app;\nconst response = await app.request('/todos');\nassert.equal(response.status, 200);\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}