How to handle file uploads
fs
however my biggest problem is that it's all done in memory. I've also noticed that when using req.parseBody
, if there are multiple large size files being uploaded, the server response time for other endpoints increases drastically. So what would be the correct way to handle file uploads, while avoiding storing files in the memory?products/{id} APIs conflicting with products/my-products in generated doc with OpenAPI

Failed deploy with Hono, Vite and email event handler
vite build --mode client && vite build && wrangler deploy --no-bundle
I get the error: A request to the Cloudflare API (/accounts/xxx/workers/scripts/disposible-email/versions) failed. Uncaught TypeError: Cannot read properties of undefined (reading 'map') at null.<anonymous> (index.js:1:21247) in route [code: 10021]
.
I already figured out that the problem lies with export default { fetch: app.fetch, email: async (message, env) => {}
because when I export app
like export default app
the error does not occur. When I use export default { fetch: app.fetch }
the error will occur.
My entrypoint (index.tsx
) looks like this:...Why Are My Hono RPC Routes Not Showing Beyond $get, $post, and $url?
$get
, $post
, and $url
appear in the list.How can I make all the other defined routes accessible through RPC? Here is my current router setup:...

How to pipe the archive in stream hono?
Hono React with bun
Cannot resolve React with hono/jsx
jsx
. My project uses monorepo structure managed by Nx. The way it's managed (default) is to have three tsconfig.*.json
files in each folder:
- tsconfig.json
which references two other configs (see below) via project references. It extends root TS config which contains its own compilerOptions
- tsconfig.lib.json
settings for production source code, this is where you usually put compilerOptions
specific settings and configuration relevant to source code for production (excludes tests etc)
- tsconfig.spec.json
settings for testing code, this means files ending with *.spec.ts{x}
are included by default...Hono WebSocket Helper Cloudflare
Hono Help with Cloudflare Workers
Factory app creation
RPC typing is behaving weird
projects
which I want to use as a projectsClient
with hc
.
For this I take my projects
Router and extract the Type like this:
...Are middleware singleton like in ElysiaJS ?
.use(container)
on each route which needs to access the container.
Should I add a check in my code to not add my variables to context if it already been added ? Or does Hono do this for me with a specific option ?
Thx for your answers 🙂...Extract routes from hono definition
Honox + Vite + Prisma
Cookie Comes Back As undefined
undefined
. Thanks!
```ts
authRouter.get('callback', async (c) => {
// irelevant logic......Websocket subprotocol results in Error: The script will never generate a response
How to add credentials to a Hono client?
Post method not working with Queues on CF Worker
I'm looking for more clarity on client components