{"name":"hono","version":"2.0.3","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.0.3","maintainers":[{"name":"yusukebe","email":"yusuke@kamawada.com"}],"homepage":"https://github.com/honojs/hono","dist":{"shasum":"65e3f866eb6142b8b834955135d527af8c3b620b","tarball":"http://registry-npm.ywwl.com/hono/download/hono-2.0.3.tgz","fileCount":114,"integrity":"sha512-cr5J1G+RhnFch1JI+Fhtnqrv7Q9wMjzQXEADskSOFbKw5IBpFQscYOPwJUb0nWGrp7Cyu4TpjFK6VF+b6M3hnQ==","signatures":[{"sig":"MEUCIGEGekkt/o2zpLX2OOSE0tfysBENdqL6d3Q1yd68KRq/AiEAvGxrJ8dxwzoAdOKijZTqDHQ4kh+YNJGTKQXTLVxSHUg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":113256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3QdmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWhhAAgQQobH5xG7VuAcPANFtbopt/hyiRKU3bAIl6Tyvx3V2HegVN\r\ndTsIhF7ZiF15u1pc5TZqb1u09COhlyvK9qUFQLTX25eplYSV7ENlUzPZ+MTC\r\nbneP56M8frVLQx0A75amWFwqn+9bX9z939eIylfouBsOODucPn0EdcRu4udv\r\n5ZxigwTvih3dFHEmRBUMYX/yAV/ZS2LYXS3z9mwnAlT5i2ZfQ8dI0QHhjX7R\r\nY27HRbu0IzURrhgV7QQbbWqwIuaXldS+8+WWAIVlAT2qNCkbbUyBse+ejpGU\r\n64ry3sMN43Argc8AurLAkQz+3Epp9n7PS1jPQwrf4l55u81ut6DeodFl6sXH\r\nnCCwxvTZ3AdZ7/r9VtZgXHOS/VXaI5AvEep8Ik76IZiKi2Vd/toS8ADmCYDo\r\nIuIW1sqT8/NbBvqGFrDfCVcjmKtUDz0hZd6tWxlFdTW5d95QGymtjfnZQBuj\r\nJu1utOJd3rGDr9eYAyoHatFmNVhkqSD9ChW9c3PmKJmHBKlH+pOVrpr903mo\r\nxqunMq/PPxCyWQeiqcZE5kB9rJqX6izMhkDPMt6Ciyq5k8RSiFfpYgwNuC/O\r\nR0ztkds5W+ovutiSLmDbzYtwlZuwGRW7VteT/ZsX4eRwswmnGQKw1aFoRk6v\r\nODttlu7Wh4A5bejT6T2cdEMRJaYwUkSF6wk=\r\n=20qh\r\n-----END PGP SIGNATURE-----\r\n","size":29857,"noattachment":false,"key":"/hono/-/hono-2.0.3.tgz"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=11.0.0"},"exports":{".":"./dist/index.js","./jsx":"./dist/middleware/jsx/index.js","./jwt":"./dist/middleware/jwt/index.js","./cors":"./dist/middleware/cors/index.js","./etag":"./dist/middleware/etag/index.js","./html":"./dist/middleware/html/index.js","./cache":"./dist/middleware/cache/index.js","./logger":"./dist/middleware/logger/index.js","./utils/*":"./dist/utils/*.js","./compress":"./dist/middleware/compress/index.js","./utils/jwt":"./dist/utils/jwt/index.js","./basic-auth":"./dist/middleware/basic-auth/index.js","./powered-by":"./dist/middleware/powered-by/index.js","./bearer-auth":"./dist/middleware/bearer-auth/index.js","./pretty-json":"./dist/middleware/pretty-json/index.js","./serve-static":"./dist/middleware/serve-static/index.js","./jsx/jsx-runtime":"./dist/middleware/jsx/jsx-runtime.js","./serve-static.bun":"./dist/middleware/serve-static/bun.js","./router/trie-router":"./dist/router/trie-router/index.js","./jsx/jsx-dev-runtime":"./dist/middleware/jsx/jsx-dev-runtime.js","./serve-static.module":"./dist/middleware/serve-static/module.mjs","./router/reg-exp-router":"./dist/router/reg-exp-router/index.js"},"scripts":{"lint":"eslint --ext js,ts src .eslintrc.js","test":"jest","build":"rimraf dist && tsc --project tsconfig.build.esm.json && tsc --project tsconfig.build.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":"https://github.com/honojs/hono.git","type":"git"},"description":"Ultrafast web framework for Cloudflare Workers.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Yusuke Wada\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","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"],"basic-auth":["./dist/middleware/basic-auth"],"powered-by":["./dist/middleware/powered-by"],"bearer-auth":["./dist/middleware/bearer-auth"],"jsx-runtime":["./dist/middleware/jsx/jsx-runtime.d.ts"],"pretty-json":["./dist/middleware/pretty-json"],"serve-static":["./dist/middleware/serve-static/index.d.ts"],"jsx-dev-runtime":["./dist/middleware/jsx/jsx-dev-runtime.d.ts"],"serve-static.bun":["./dist/middleware/serve-static/bun.d.ts"],"router/trie-router":["./dist/router/trie-router/router.d.ts"],"serve-static.module":["./dist/middleware/serve-static/module.d.mts"],"router/reg-exp-router":["./dist/router/reg-exp-router/router.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"np":"^7.6.2","jest":"27.5.1","eslint":"^8.14.0","rimraf":"^3.0.2","denoify":"^0.11.1","ts-jest":"^27.1.4","prettier":"^2.6.2","crypto-js":"^4.1.1","form-data":"^4.0.0","typescript":"^4.6.3","@types/jest":"^27.4.1","@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.7.1","@typescript-eslint/parser":"^5.21.0","jest-environment-miniflare":"^2.6.0","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.0.3_1658652518288_0.9515502957393398","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":1658652518471,"_cnpm_publish_time":1658652518471,"dist-tags":{"latest":"4.13.16","next":"5.0.0-rc.1","v4":"4.0.0-rc.4"}}