{"name":"hono","version":"2.2.0","keywords":["hono","web","app","http","application","framework","router","cloudflare","workers","fastly","compute@edge","deno","bun"],"author":{"url":"https://github.com/yusukebe","name":"Yusuke Wada","email":"yusuke@kamawada.com"},"license":"MIT","_id":"hono@2.2.0","maintainers":[{"name":"yusukebe","email":"yusuke@kamawada.com"}],"homepage":"https://honojs.dev","bugs":{"url":"https://github.com/honojs/hono/issues"},"dist":{"shasum":"05e51d9448ea1dcf52bc9bf8f3c392bf0da11692","tarball":"http://registry-npm.ywwl.com/hono/download/hono-2.2.0.tgz","fileCount":167,"integrity":"sha512-pjJFN7mcPgQA2zpDd/BiT0resFNFqeLkIGNyUJ5aXHAftE8IfI+YiW/Ltfc2JLpfJ1ATuvUNT9UnQai4vAfEyA==","signatures":[{"sig":"MEQCIBMp15D+NucHrJpHEmZrmxA0lJ1QVzC//pj9+EOe9711AiAqzkTitijH93yXFgFeiSKzeWnOPkCtUtRdaJQB5gPRYg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":232159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKnukACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgJQ/9FpApD3mgrA5tYAYNO6DmSpenReElyvCYHOm+MD5yNRvYx6Hu\r\nPa6VC1r1BQWxkfOc6G28lCNEvzc5jTLq54CzCGuMDxZL4UER6xTt7ApK8MiB\r\n7pgBrWG2damwpKghZNNr2FCDWluKDuCgbPeao4gXY6mxZnO//GwJqUONesHL\r\nVTS0eI6aVp1YkV6JSfybL7EQFzPwQ+m5VwBlpN/wMMoDOtB9eACWvVD+wXeS\r\npoJ2qzX1Q3MwSzKzYSCRfVQVAX8l6MmBePKsaioecuVAHWq7c7NX2JtLOhBZ\r\nYyZ6GO82SlLqMGnAswoG8vVQOyMfwbsZCIkYqSSk9b5nlk0khujcqPAIh07M\r\nVlH6xcOSh7lDTN5uctqgIQy1mKCw+/5wb5Mr0DYVBO8HZRLJc6a1sRXM4Zh6\r\nU0Z6np04YZtPVX9bKVfgwf/hMe1k1CXjZ+EdScuViUk+Gd/jdq81UCqukrgw\r\ngDRxydX2vjI6nXTCSa1nAU8if5aQsMWM0H1fgiFUBtxSDl3cCvdjsqPnZAq2\r\nT38enf6ZIp6OZgBlPmX+KU835l4s+p3UXLQk3sUVeX/v6Gwn1cqiemQIH+1O\r\n0pUYp3qdmcxwrA+I7K5wshiPrTbcu9q1ux8FkWZg+Lu4aBtBPcwFe8vPVi0f\r\nMunrj50W+oLRMW4k74Mqg1r5+QN7Jm8C7KM=\r\n=kUHJ\r\n-----END PGP SIGNATURE-----\r\n","size":44016,"noattachment":false,"key":"/hono/-/hono-2.2.0.tgz"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"import":"./dist/index.js","require":"./dist/cjs/index.js"},"./jsx":{"import":"./dist/middleware/jsx/index.js","require":"./dist/cjs/middleware/jsx/index.js"},"./jwt":{"import":"./dist/middleware/jwt/index.js","require":"./dist/cjs/middleware/jwt/index.js"},"./cors":{"import":"./dist/middleware/cors/index.js","require":"./dist/cjs/middleware/cors/index.js"},"./etag":{"import":"./dist/middleware/etag/index.js","require":"./dist/cjs/middleware/etag/index.js"},"./html":{"import":"./dist/middleware/html/index.js","require":"./dist/cjs/middleware/html/index.js"},"./cache":{"import":"./dist/middleware/cache/index.js","require":"./dist/cjs/middleware/cache/index.js"},"./logger":{"import":"./dist/middleware/logger/index.js","require":"./dist/cjs/middleware/logger/index.js"},"./utils/*":{"import":"./dist/utils/*.js","require":"./dist/cjs/utils/*.js"},"./compress":{"import":"./dist/middleware/compress/index.js","require":"./dist/cjs/middleware/compress/index.js"},"./utils/jwt":{"import":"./dist/utils/jwt/index.js","require":"./dist/cjs/utils/jwt/index.js"},"./validator":{"import":"./dist/middleware/validator/index.js","require":"./dist/cjs/middleware/validator/index.js"},"./basic-auth":{"import":"./dist/middleware/basic-auth/index.js","require":"./dist/cjs/middleware/basic-auth/index.js"},"./powered-by":{"import":"./dist/middleware/powered-by/index.js","require":"./dist/cjs/middleware/powered-by/index.js"},"./bearer-auth":{"import":"./dist/middleware/bearer-auth/index.js","require":"./dist/cjs/middleware/bearer-auth/index.js"},"./pretty-json":{"import":"./dist/middleware/pretty-json/index.js","require":"./dist/cjs/middleware/pretty-json/index.js"},"./serve-static":{"import":"./dist/middleware/serve-static/index.js","require":"./dist/cjs/middleware/serve-static/index.js"},"./jsx/jsx-runtime":{"import":"./dist/middleware/jsx/jsx-runtime.js","require":"./dist/cjs/middleware/jsx/jsx-runtime.js"},"./serve-static.bun":{"import":"./dist/middleware/serve-static/bun.js","require":"./dist/cjs/middleware/serve-static/bun.js"},"./router/trie-router":{"import":"./dist/router/trie-router/index.js","require":"./dist/cjs/router/trie-router/index.js"},"./jsx/jsx-dev-runtime":{"import":"./dist/middleware/jsx/jsx-dev-runtime.js","require":"./dist/cjs/middleware/jsx/jsx-dev-runtime.js"},"./router/smart-router":{"import":"./dist/router/smart-router/index.js","require":"./dist/cjs/router/smart-router/index.js"},"./serve-static.module":{"import":"./dist/middleware/serve-static/module.mjs"},"./router/static-router":{"import":"./dist/router/static-router/index.js","require":"./dist/cjs/router/static-router/index.js"},"./router/reg-exp-router":{"import":"./dist/router/reg-exp-router/index.js","require":"./dist/cjs/router/reg-exp-router/index.js"}},"gitHead":"e934bb2aececa639f8dc467a651a7f18b4c33681","scripts":{"lint":"eslint --ext js,ts src .eslintrc.js","test":"jest","build":"rimraf dist && tsc --project tsconfig.build.json && tsc --project tsconfig.build.cjs.json","watch":"tsc --project tsconfig.build.json -w","denoify":"rimraf deno_dist && denoify && rimraf 'deno_dist/**/*.test.ts'","release":"np","lint:fix":"eslint --ext js,ts src .eslintrc.js --fix","test:all":"yarn test && yarn test:deno && yarn test:bun","test:bun":"bun wiptest --jsx-import-source ../src/middleware/jsx/jsx-dev-runtime bun_test/index.test.tsx","test:deno":"deno test --allow-read deno_test","prerelease":"yarn denoify && yarn test:deno && yarn build"},"_npmUser":{"name":"yusukebe","email":"yusuke@kamawada.com"},"repository":{"url":"git+https://github.com/honojs/hono.git","type":"git"},"_npmVersion":"8.11.0","description":"Ultrafast web framework for Cloudflare Workers.","directories":{},"_nodeVersion":"16.16.0","publishConfig":{"registry":"https://registry.npmjs.org"},"typesVersions":{"*":{"jsx":["./dist/middleware/jsx"],"jwt":["./dist/middleware/jwt"],"cors":["./dist/middleware/cors"],"etag":["./dist/middleware/etag"],"html":["./dist/middleware/html"],"cache":["./dist/middleware/cache"],"logger":["./dist/middleware/logger"],"utils/*":["./dist/utils/*"],"compress":["./dist/middleware/compress"],"utils/jwt":["./dist/utils/jwt/index.d.ts"],"validator":["./dist/middleware/validator"],"basic-auth":["./dist/middleware/basic-auth"],"powered-by":["./dist/middleware/powered-by"],"bearer-auth":["./dist/middleware/bearer-auth"],"pretty-json":["./dist/middleware/pretty-json"],"serve-static":["./dist/middleware/serve-static/index.d.ts"],"jsx/jsx-runtime":["./dist/middleware/jsx/jsx-runtime.d.ts"],"serve-static.bun":["./dist/middleware/serve-static/bun.d.ts"],"router/trie-router":["./dist/router/trie-router/router.d.ts"],"jsx/jsx-dev-runtime":["./dist/middleware/jsx/jsx-dev-runtime.d.ts"],"router/smart-router":["./dist/router/smart-router/router.d.ts"],"serve-static.module":["./dist/middleware/serve-static/module.d.mts"],"router/static-router":["./dist/router/static-router/router.d.ts"],"router/reg-exp-router":["./dist/router/reg-exp-router/router.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"np":"^7.6.2","jest":"^29.0.3","eslint":"^8.14.0","rimraf":"^3.0.2","denoify":"^1.1.1","ts-jest":"^29.0.1","prettier":"^2.6.2","crypto-js":"^4.1.1","form-data":"^4.0.0","typescript":"^4.8.3","@types/jest":"^29.0.2","@types/node":"^17.0.29","@types/crypto-js":"^4.1.1","eslint-plugin-node":"^11.1.0","eslint-define-config":"^1.4.0","eslint-plugin-import":"^2.26.0","eslint-config-prettier":"^8.5.0","eslint-plugin-flowtype":"^8.0.3","@cloudflare/workers-types":"^3.16.0","@typescript-eslint/parser":"^5.21.0","jest-environment-miniflare":"2.7.1","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.21.0","eslint-import-resolver-typescript":"^2.7.1"},"_npmOperationalInternal":{"tmp":"tmp/hono_2.2.0_1663728548193_0.33160383985194564","host":"s3://npm-registry-packages"},"readme":"<div align=\"center\">\n  <a href=\"https://hono.dev\">\n    <img src=\"https://raw.githubusercontent.com/honojs/hono/main/docs/images/hono-title.png\" width=\"500\" height=\"auto\" alt=\"Hono\"/>\n  </a>\n</div>\n\n<hr />\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/honojs/hono/ci.yml?branch=main)](https://github.com/honojs/hono/actions)\n[![GitHub](https://img.shields.io/github/license/honojs/hono)](https://github.com/honojs/hono/blob/main/LICENSE)\n[![npm](https://img.shields.io/npm/v/hono)](https://www.npmjs.com/package/hono)\n[![npm](https://img.shields.io/npm/dm/hono)](https://www.npmjs.com/package/hono)\n[![JSR](https://jsr.io/badges/@hono/hono)](https://jsr.io/@hono/hono)\n[![Bundle Size](https://img.shields.io/bundlephobia/min/hono)](https://bundlephobia.com/result?p=hono)\n[![Bundle Size](https://img.shields.io/bundlephobia/minzip/hono)](https://bundlephobia.com/result?p=hono)\n[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/honojs/hono)](https://github.com/honojs/hono/pulse)\n[![GitHub last commit](https://img.shields.io/github/last-commit/honojs/hono)](https://github.com/honojs/hono/commits/main)\n[![codecov](https://codecov.io/github/honojs/hono/graph/badge.svg)](https://codecov.io/github/honojs/hono)\n[![Discord badge](https://img.shields.io/discord/1011308539819597844?label=Discord&logo=Discord)](https://discord.gg/KMh2eNSdxV)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/honojs/hono)\n\nHono - _**means flame🔥 in Japanese**_ - is a small, simple, and ultrafast web framework built on Web Standards. It works on any JavaScript runtime: Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, AWS Lambda, Lambda@Edge, and Node.js.\n\nFast, but not only fast.\n\n```ts\nimport { Hono } from 'hono'\nconst app = new Hono()\n\napp.get('/', (c) => c.text('Hono!'))\n\nexport default app\n```\n\n## Quick Start\n\n```bash\nnpm create hono@latest\n```\n\n## Features\n\n- **Ultrafast** 🚀 - The router `RegExpRouter` is really fast. Not using linear loops. Fast.\n- **Lightweight** 🪶 - The `hono/tiny` preset is under 12kB. Hono has zero dependencies and uses only the Web Standard API.\n- **Multi-runtime** 🌍 - Works on Cloudflare Workers, Fastly Compute, Deno, Bun, AWS Lambda, Lambda@Edge, or Node.js. The same code runs on all platforms.\n- **Batteries Included** 🔋 - Hono has built-in middleware, custom middleware, and third-party middleware. Batteries included.\n- **Delightful DX** 😃 - Super clean APIs. First-class TypeScript support. Now, we've got \"Types\".\n\n## Documentation\n\nThe documentation is available on [hono.dev](https://hono.dev).\n\n## Migration\n\nThe migration guide is available on [docs/MIGRATION.md](docs/MIGRATION.md).\n\n## Communication\n\n[X](https://x.com/honojs) and [Discord channel](https://discord.gg/KMh2eNSdxV) are available.\n\n## Contributing\n\nContributions Welcome! You can contribute in the following ways.\n\n- Create an Issue - Propose a new feature. Report a bug.\n- Pull Request - Fix a bug or typo. Refactor the code.\n- Create third-party middleware - See instructions below.\n- Share - Share your thoughts on the Blog, X, and others.\n- Make your application - Please try to use Hono.\n\nFor more details, see [docs/CONTRIBUTING.md](docs/CONTRIBUTING.md).\n\n## Contributors\n\nThanks to [all contributors](https://github.com/honojs/hono/graphs/contributors)!\n\n## Authors\n\nYusuke Wada <https://github.com/yusukebe>\n\n_RegExpRouter_, _SmartRouter_, _LinearRouter_, and _PatternRouter_ are created by Taku Amano <https://github.com/usualoma>\n\n## License\n\nDistributed under the MIT License. See [LICENSE](LICENSE) for more information.\n","publish_time":1663728548367,"_cnpm_publish_time":1663728548367,"dist-tags":{"latest":"4.13.16","next":"5.0.0-rc.1","v4":"4.0.0-rc.4"}}