Alibaba Cloud Function Compute
This guide uses the third-party adapter rwv/hono-alibaba-cloud-fc3-adapter to run HttpRouter on Alibaba Cloud Function Compute.
This guide uses the third-party adapter rwv/hono-alibaba-cloud-fc3-adapter to run HttpRouter on Alibaba Cloud Function Compute.
Analog.js API routes are powered by Nitro and h3. Use toWebRequest from h3 to convert the incoming event to a standard Request.
Use the hono/aws-lambda adapter to wrap HttpRouter for AWS Lambda.
Use the hono/lambda-edge adapter to run HttpRouter on Lambda@Edge with CloudFront.
Use the Azure Functions Adapter to run HttpRouter on Azure Functions V4 with Node.js 18+.
Bun's Bun.serve() accepts a standard fetch handler directly.
Export router.fetch as the default module fetch handler.
HttpRouter is adapter-based: it delegates URL pattern matching to a Hono Router instance. Any existing Hono-compatible adapter can be used interchangeably with the HttpRouter class.
HttpRouter relies on the Hono router adapter interface for URL pattern matching and request dispatching. It does not ship with a built-in router. Instead, you supply a Hono Router instance that satisfies the adapter interface.
Deno provides the native Deno.serve() function which accepts a standard fetch handler.
Use the @fastly/hono-fastly-compute adapter with the fire helper.
Google Cloud Run runs containerized workloads. This guide assumes you have a Google Cloud account with billing enabled.
The @daiso-tech/core/http-router component provides a framework-agnostic HTTP router built on top of the Hono router engine. It implements the Winter TC fetch object standard, which means it exposes a standard fetch(request): Response signature. This allows it to be integrated directly into any runtime or framework that supports the Fetch API — including Node.js, Bun, Deno, Cloudflare Workers, Next.js, Nuxt, SvelteKit, and more.
HttpRouter implements the WinterTC fetch standard, exposing a fetch(request Response | Promise method. This makes it compatible with any framework, runtime, or platform adapter that accepts a standard fetch handler.
Use the hono/netlify adapter to wrap HttpRouter for Netlify Edge Functions.
HttpRouter can be used directly with Next.js App Router route handlers.
HttpRouter can be used directly with Next.js Pages Router route handlers.
Use the @hono/node-server adapter to serve HttpRouter on Node.js.
HttpRouter integrates with Nuxt server routes via Nitro and h3. Use toWebRequest from h3 to convert the incoming event to a standard Request.
SolidStart supports fetch-based route handlers natively.
Supabase Edge Functions run on Deno. HttpRouter integrates natively.
HttpRouter works with SvelteKit server endpoints via the standard Request/Response API.
TanStack Start uses Vinxi under the hood and supports standard fetch handlers.
Deploy HttpRouter to Vercel serverless or edge functions by exporting the default fetch handler.