mrkeyoor.comAsk

honojs/honotested 24 Oct 2026commit 5ca49b0

hono review

Our run of the Hono source-checkout install failed after 9 seconds on a missing pnpm entry file, while a separate npm run executed the introductory snippet successfully without output.

  • 3.7 MB on disk
Failedinstall
  • 0 dependencies
Webevaluationupdated 28 Nov 2026
+129stars / 7d

Hono is a TypeScript web framework for building APIs and web applications with the standard Request and Response interfaces. It gives you routing and middleware across Workers, Bun, Deno and Node.js, with adapters for platform-specific behavior.

Verdict

Our run of the Hono source-checkout install failed after 9 seconds on a missing pnpm entry file, while a separate npm run executed the introductory snippet successfully without output. Use Hono for portable TypeScript APIs when your team will own the adapter boundaries. Skip it if a large inferred RPC client must stay responsive without precompilation work: issue #3869 reports that cost.

Hono infographic: build portable TypeScript APIs across runtimes, plus its uses, our test result, pitfalls and who it suits
Tested 28 November 2026: the README snippet ran as written. Before that: 24 Oct: source install failed; npm install took 1.7 s.

We ran it

Lab card: what happened when we ran hono
Lab card from our sandbox run
Screenshot of hono (hono.dev)
hono.dev
Install✗ · 9s
Build—
Repo583 files~92,780 lines of source · 5 MB · 6 CI workflows

Answers from our run

Does hono build from source?

The dependency install failed, and the project has no separate build step. We cloned commit 5ca49b0 into a clean Debian container with 3 CPUs and no project-specific setup.

Who should not use hono?

Large API teams that require responsive RPC editor feedback without maintaining precompiled route packages: issue #3869 reports that engineering cost.

What are the alternatives to hono?

Express, Fastify. Our run of the Hono source-checkout install failed after 9 seconds on a missing pnpm entry file, while a separate npm run executed the introductory snippet successfully without output.

Setup5/5In our 2026-11-28 run it installed in 1.7 s and the README’s “(intro)” example ran unedited.Editor’s note: The source install stopped at the pnpm launcher; the npm snippet check supplies no deployed HTTP result or supported contributor setup assessment.
Docs5/5The README has an install section (“Quick Start”) and usage in the same section, and its example ran as written in our 2026-11-28 run.Editor’s note: The best-practices, middleware and Node guides explain route typing and adapter boundaries; this review does not assign a separate numerical docs rubric.
Community5/5Last push on 2026-11-26, 33,125 stars and maintainers answered or closed 9 of the 10 most-discussed issues we sampled.Editor’s note: Named applications and issue discussions show use and contributor involvement, but the sampled threads do not measure support capacity or response times.
Maturity4/5Latest release v4.13.23 on 2026-11-26 and repository created 2021-12-14.Editor’s note: Named production uses are documented, while our lab scope stops at a failed checkout install and a successful introductory module execution.

How we score

Discussed on

  1. hnHonoJS: Small, simple, and ultrafast web framework for the Edges300 points
  2. hnHono v4.0181 points
  3. hnHono: Ultrafast Web Framework for Cloudflare Workers, Deno, and Bun4 points
  4. hnHono: Fast, Lightweight, Web-Standards3 points

Who it’s for

TypeScript API teams that need the same request-handling model on Workers and conventional servers.
Developers prepared to isolate platform-specific file, WebSocket and streaming behavior.
Teams that want typed API clients and can structure route exports and precompiled types deliberately.

Who it’s NOT for

Large API teams that require responsive RPC editor feedback without maintaining precompiled route packages: issue #3869 reports that engineering cost.
Teams expecting a closed adapter issue to prove payload compatibility on every host: issue #1695 contains conflicting workaround results.
Servers protecting private static files only with a case-sensitive path guard: the Node guide warns that filesystem names can bypass that boundary.

Setup reality

Our October 24 run at commit 5ca49b0 failed installation with exit 1 after 9 seconds. The log says MODULE_NOT_FOUND for /work/home/.corepack/v1/pnpm/12.6.0/bin/pnpm.cjs and prints Node.js v18.20.8, despite the lab-node:22 image label. A separate November 28 npm quickstart installed Hono 4.13.23 in 1.7 seconds; its six-line README snippet exited 0 in 0.3 seconds without output.

The basic README application imports Hono and registers a route without configuring an external service or credentials. Your deployment still needs its chosen runtime, host configuration and any application bindings. Node.js uses @hono/node-server; the Node WebSocket guide also requires ws.

The npm execution checked an introductory module, without a recorded HTTP response assertion. It did not repair the failed source-checkout installation. Static files, uploads and streaming cancellation need acceptance checks on the intended platform.

Short answer: choose Hono for portable APIs, budget for adapters

Hono is worth considering when you need a TypeScript API on Workers, Bun or Node.js: Hono's official project list names OpenStatus on Bun. The same list names PostHog on Node.js. Use it if sharing a request-handling model across deployment targets solves a real problem for you. Skip it if your large API must deliver responsive RPC editor feedback without splitting or precompiling route types: the reports in issue #3869 make that an expensive assumption.

Our source-checkout install failed after 9 seconds because the launcher could not find pnpm's entry file. A later, separate npm quickstart executed the README snippet successfully and printed nothing. The results leave you with a practical choice: evaluate the runtime and type structure your application needs, rather than buying the promise that every deployment is interchangeable.

What people use Hono for

Cloudflare uses Hono for internal and customer-facing APIs, according to creator Yusuke Wada's account on the Cloudflare blog. These named applications give you something more useful than a star count: a picture of where the framework is being used.

Who What they did Reported outcome
Cloudflare Workers Logs Moved applications from their original infrastructure to Workers All Workers Logs internal or customer-facing APIs run on Workers using Hono.
Cloudflare D1 Built its internal database Web API on Workers D1 uses Hono for its internal Web API on Workers.
Unkey Used Hono with its OpenAPI feature Unkey deploys its application built with Hono’s OpenAPI feature to Cloudflare Workers.
Kanopy Labs Chose among Hono, Nitro and H3 on client projects Kanopy Labs reports choosing Hono for standalone APIs when portability is the priority.

The Cloudflare examples come from Hono's creator, who works there. The Kanopy Labs article is an agency's account of its own choices. They identify actual uses, while the product listing identifies applications on different runtimes. None should be read as a service-level guarantee for your API.

What happened when we ran it

the separate November 28 quickstart installed Hono 4.13.23 from npm in 1.7 seconds. The two runs exercised different routes into the project: installing the framework repository for development and executing a tiny application that imports the published package. A successful package check answers a useful setup question, but it cannot turn a failed contributor install into a passing one.

In the newer run, the lab associated the run with commit 717dc17cb80b and executed the unedited README introduction snippet in a fresh unprivileged container. In our November run, we installed the package from npm at latest, rather than building it from that checkout. The recorded configuration was 2 CPUs, 4 GB RAM and image label lab-node:22, with no published ports or secrets.

November quickstart step Recorded result
Clone The quickstart-lib clone step took 1 second.
Package installation Hono 4.13.23 installed from npm in 1.7 seconds
Installed size The installed node_modules directory occupied 3.7 MB.
Dependency count The install added zero packages besides Hono.
README snippet The six-line TypeScript snippet ran with tsx, exited 0 in 0.3 seconds and produced no output.
Teardown The lab recorded teardown as successful.

The snippet imports Hono, creates an application, registers a route and exports the app. Executing that file completed without output. That is a useful package-loading check, but it contains no recorded HTTP request or response assertion. The quiet exit fits the task the lab actually ran.

Our measurement setup for the earlier run started from commit 5ca49b0 on October 24, 2026, with 3 CPUs, 8 GB RAM and image label lab-node:22. The checkout contained 583 files, about 92,780 source lines and occupied 5 MB. The scan found 6 CI workflow files, monorepo workspaces, no Dockerfile and no directory named tests. A directory scan alone says nothing about tests stored beside source files.

October source-checkout step Recorded result
pnpm installation Failed, exit 1, after 9 seconds
Failing entry file /work/home/.corepack/v1/pnpm/12.6.0/bin/pnpm.cjs
Error MODULE_NOT_FOUND
Runtime printed by the failure log Node.js v18.20.8

The launcher tried to load that pnpm file, threw Cannot find module, and stopped. The image name says 22, but the actual failure log says Node.js v18.20.8. There is no supported basis here for blaming Hono's application code, naming a package incompatibility, or treating the newer npm run as a repair of the checkout failure. These are separate observations with different commands and scope.

Where people get stuck: types and request bodies

Issue #3869 describes slow feedback after a side project grew into a large API, and issue #1695 describes payload requests failing at a runtime adapter. Both are more consequential to choosing Hono than the simplicity of its introductory route.

In issue #3869, author askorupskyy describes a product with hundreds or thousands of modules and endpoints, with compilation and live reload becoming an obstacle to development. The author's workaround was to split routers into buildable monorepo libraries, connect them through a main router and use different development and production configurations. These are user reports, not timings reproduced by our lab.

Cella contributor flipvh reports near-instant frontend IntelliSense after precompiling parts, but worse backend IntelliSense. IntelliSense is the editor's completion and type feedback. If you depend on the typed client, include the backend editor in your evaluation: making frontend completions fast does not settle the developer experience of editing the server.

Symptom and reporter Approach described Resolution shown in the discussion
askorupskyy, large inferred route graph, #3869 Split routers into buildable packages and precompile types Improvements reported, issue open in the captured discussion
bompi88, oversized inferred type, #3869 Asked for explicit type or interface guidance with OpenAPI and Zod No definitive answer in the captured exchange
RobertSasak, Firebase payload failure, #1695 Restored the body from rawBody Other users report different results
davxdo and Bobetti, Vercel payload failure, #1695 Tried disabling Node helpers davxdo reports success, Bobetti reports that it did not help
buzinas and LebCit, uploads, #664 Maintainer recommends parseBody and File handling Later comments still describe parsing and arrayBuffer difficulties

Issue #1695 reports POST payloads failing with a disturbed or locked body error in Firebase Functions. The author attributes the problem to an incoming stream already read by Firebase's processing and describes restoring rawBody. AverageHelper reports that the workaround instead led to a non-Uint8Array chunk error. The thread is closed, but its conflicting results do not amount to a general adapter fix.

For uploads, maintainer yusukebe recommends c.req.parseBody() and checking whether the parsed value is a File in issue #664. The discussion includes multiple-file confusion and an arrayBuffer() error reported by LebCit. Start with the documented parser, then exercise the shape you actually accept: one file, repeated files, and form fields beside files. The historical comments describe particular runtime versions, so they shouldn't become a blanket claim that Bun cannot upload files today.

RPC ties the client to how you declare routes

Hono's best-practices guide shows chained route declarations as the way to preserve types for its RPC client. RPC, remote procedure call, here means a client whose request and response types come from the server's route definitions.

The best-practices guide passes the chained application type to hc to retain the correct client type. The distinction is easy to miss: splitting routes into files is supported, but reorganizing declarations without preserving their type can discard the information the client needs. Decide how your application exports its route type before building several layers of wrappers around it.

The same guide warns that extracting a handler into a broadly typed controller can lose path-parameter inference. It recommends keeping handlers beside their route definitions or using factory.createHandlers() when separating them. That affects your preferred code structure. A team accustomed to controller classes should price in the adjustment rather than assuming familiar HTTP routing syntax means familiar TypeScript organization.

The practical cost is visible in #3869: precompilation adds generated declarations and another development workflow to maintain. Treat that as part of the architecture if you expect a large shared route graph. The RPC client is optional to the framework decision; choosing Hono for HTTP routing does not force your team to use one application-wide inferred client type.

Static-file authentication needs a filesystem boundary

Hono's Node guide warns that case-sensitive route matching and filesystem name handling can disagree. The Node guide recommends keeping protected files outside the served directory or applying authentication to every path served by serveStatic. That is a concrete security constraint for a server exposing files.

The guide's examples include differently cased paths on Windows and macOS and Windows short names. A guard scoped to /admin/* can miss a spelling that the filesystem still resolves. Keep private files out of the public root, or protect the entire static handler's scope. Renaming a directory does not replace that boundary.

Request-dependent configuration has a separate rule: the context belongs inside the callback handling the request. The middleware guide demonstrates reading c.env.CORS_ORIGIN inside app.use, then calling the configured middleware with the context and next function. Use that pattern for options that come from runtime bindings, rather than trying to read a request context while registering routes.

Streaming and WebSockets still belong to the runtime

The Node guide now documents WebSocket support in @hono/node-server with ws, while the cancellation discussion shows different behavior across runtimes. This is where the promise of portable handlers meets the connection you are actually serving.

The Node guide documents built-in node-server WebSocket support and marks node-ws deprecated. The older WebSockets discussion #1153 contains requests for Node support and a Bun user describing Bun.serve with server.upgrade. Use the current guide for the implementation path, rather than interpreting that closed historical request as a missing feature today.

In issue #1770, yusukebe reports cancellation working on Node.js but not working well on Bun. The thread contains a Node example and discussion of detecting client disconnection. It remains open in the captured record. For your acceptance check, disconnect a real client and watch whether the producing loop, subscriptions and upstream calls stop. Receiving the first streamed chunk answers a different question from releasing work after the browser leaves.

Hono vs Express, Fastify and RPC alternatives

For hono vs express, favor Hono when portable HTTP handlers are the requirement and Express when existing Node middleware determines the choice. For hono vs fastify, compare deployment portability with Fastify's Node-oriented plugins and schema validation, rather than assuming a speed ranking.

Choice Reason to consider it Pick it when
Hono Web-standard application model across runtimes You need a standalone API whose deployment target may change
Express Node.js framework and existing middleware Your service already depends on Express integrations
Fastify Node.js plugins and schema handling Validation and serialization are central to a long-lived Node service
Nitro or H3 Agency experience distinguishes meta-framework integration from a smaller HTTP layer Your application already belongs in Nuxt, Analog or UnJS
Dedicated RPC tooling Separate emphasis from a general web framework Client contracts dominate the design decision

Express describes itself as a minimalist web framework for Node.js. The recommendation to retain Express for existing middleware commitments also matches Arif Dewi's comparison, which favors it for legacy integration and ecosystem compatibility. Moving a working Node service needs a benefit specific to that service.

Fastify uses JSON Schema to validate routes and serialize outputs. Fastify's README describes that schema handling and plugin architecture. Those are concrete reasons to compare it with Hono for Node services. They do not imply a measured throughput advantage in your application.

Kanopy Labs reports using Nitro for Nuxt or Analog, Hono for portable standalone APIs and H3 for lighter work within UnJS. For an RPC-heavy application, oRPC’s comparison describes Hono as a general-purpose web framework with an RPC feature. Its scale and speed comparisons come from a competing project. The useful question is whether you want the contract to be your primary abstraction, with HTTP routing organized around it.

What the other reviews get wrong

Praveen BK's title, "Hono: The Fastest Web Framework", overstates the reach of the official router comparison. Hono’s official benchmark compares routers for Cloudflare Workers. That narrower scope matters: a router benchmark is not a production comparison of applications with equivalent middleware, databases and hosting. oRPC's own comparison explicitly measures no-op handlers and framework overhead. Neither earns a universal winner.

Hackweb's Hono guide says the client infers every path, parameter and response. The official best-practices examples require preserving the route type, and #3869 supplies the missing scale qualification. "Typed client" is a feature you can use; its engineering cost depends on the graph you ask TypeScript to infer.

Kanopy Labs says handlers, middleware and business logic remain identical when changing adapters. Its standalone API recommendation is useful, but that statement is too broad for static files, WebSockets and cancellation. The platform-specific Node guide and #1770 show why those boundaries need their own implementation decisions.

Hackweb also shows bearerAuth reading c.env.ADMIN_TOKEN directly during registration, without a request-scoped c in that snippet. Hono's middleware guide puts context-dependent options inside the app.use callback. Copy that structure when your authentication token comes from a runtime binding.

Questions people ask

Hono supports portable HTTP applications, while Express and Fastify target Node.js; Hono's runtime list, Express and Fastify make that distinction explicit.

How does Hono compare with Express and Fastify?

Choose Hono for a shared Web-standard request model across deployment targets. Keep Express in contention for existing integrations, and Fastify for Node plugins and schema handling. Arif Dewi's comparison makes those deployment and integration distinctions, rather than giving you a reason to rewrite every existing service.

Should I choose Hono or NestJS?

The Vercel user in issue #1695 says NestJS is the next framework they intend to try, but reports no completed NestJS result. That comment supports an account of frustration with a particular Hono setup. It cannot support a claim that NestJS fixed it or won a comparison.

How does Hono relate to Bun and Node.js?

Bun and Node.js are runtimes that can host Hono, rather than alternatives at the same layer. Wada's explanation names both as supported runtimes, and the Node guide describes its adapter. Your useful comparison is how the intended adapter handles your requests and connections.

How does Hono compare with FastAPI?

The autocomplete results include hono vs fastapi, but contain no implementation comparison. Hono's documented Web-standard approach answers one side of that choice. Choose with your application's language and deployment requirements, rather than interpreting a search suggestion as a result.

Should I use Hono or Next.js?

Hono's documentation describes a web application framework without a frontend, including use as an API and backend proxy. Those documented uses support evaluating it for the HTTP service you need. They don't supply a side-by-side Next.js application comparison or justify replacing an entire frontend stack.

How can I reduce Hono build times and restore responsive IntelliSense as my API grows?

Splitting routers into buildable packages and precompiling types helped users in issue #3869. Cella's frontend feedback improved while its backend feedback worsened. Measure the editor you use to change routes as well as the client that imports their declarations.

How much of the TypeScript performance problem comes from Hono versus Zod?

Participants in issue #3869 discuss both Zod and Hono's inferred route types, including a user who saw a difference after briefly removing Zod. The exchange contains no controlled attribution of the slowdown. Assigning a percentage to either library would go beyond what they reported.

Can explicit type hints prevent oversized inferred types when using OpenAPI and Zod?

bompi88 reports a type-serialization limit and asks how explicit hints should work with OpenAPI and Zod in issue #3869. The exchange offers no definitive fix for that combination. Don't sell type hints to your team as a completed remedy based on that thread.

How can I detect a client disconnect and stop streaming work?

The Node example in issue #1770 handles disconnection, while the discussion reports trouble on Bun. Build an acceptance case that observes the producer stopping after client cancellation, on the runtime you intend to ship.

Why do payload requests fail with a disturbed or locked body error on Firebase Functions or Vercel?

The author of issue #1695 attributes the Firebase failure to an already-read request stream. Reported workarounds include restoring rawBody and disabling Vercel helpers, with conflicting follow-up results. Match the adapter and request path before applying a workaround from that historical report.

How do I upload files with Hono on Bun or Node.js?

The maintainer recommends c.req.parseBody() and File handling in issue #664. The same discussion includes multiple-file and arrayBuffer() failures. Use your actual field names and file combinations in the acceptance case, rather than treating a single-file example as coverage of the whole upload workflow.

Could ts-rest or another contract-based approach improve Hono RPC compilation performance?

Participants in issue #3869 discuss separating an API's input and output contract from its implementation, including ts-rest as an alternative. The thread contains no completed migration comparison. Consider that architecture when the frontend needs a stable API contract without importing the server's inferred route graph, but don't promise a speedup from this discussion alone.

What we have not tested yet

The successful npm snippet execution covers loading and executing an introductory module, not serving an HTTP request. Our lab has no recorded response assertion, production traffic run, runtime comparison, upload-memory test, WebSocket exchange or disconnect-cleanup result for this review. The October checkout stopped at installation, so it supplies no successful build or test-suite outcome. The later package run does not establish that source installation was fixed.

We have not measured the cost of a large RPC graph, isolated Zod's contribution, or reproduced the Firebase and Vercel workarounds. Those are attributed issue reports. The named production applications demonstrate usage, not measured reliability or operating costs. No usable YouTube transcript, Reddit account or X experience accompanied the material reviewed here, so video titles contribute no implementation findings.

Searches for "honor robot phone", "honor", "honor robot phone price in india", "honor 600 pro", "honor magic9 pro max", "honor robot phone price", "honor mobile", "honor phone", "honor 600" and "honor 700 pro" concern phone queries, not honojs/hono. The autocomplete list mixes those terms with framework comparisons, while HONOR's own Robot Phone page identifies the phone product. This review provides no phone-price answer, India-specific demand estimate or search-volume measurement.

For an adoption decision, the next useful result is a deployed slice of your own API: its authentication, a payload request, the file handling you need, and the client type imported by your frontend. Record what happens when a client leaves mid-stream and when a developer edits a route. Those outcomes will tell you more than another empty-route speed chart.

Alternatives

ProjectWhat it isPick it when
Express gh↗A minimalist web framework for Node.js.Pick Express when existing Node middleware and integrations determine the architecture.
Fastify gh↗A Node.js framework with plugins and JSON Schema validation and serialization.Pick Fastify when a Node service needs schema handling and plugin boundaries more than runtime portability.

Sources

  1. Hono README
  2. Hono creator on Cloudflare
  3. Hono best practices
  4. Hono Node.js guide
  5. Hono type-inference discussion
  6. Hono request-body adapter discussion
  7. Express
  8. Fastify README

More web reviews