Others #
Hono is composed of Web Standard API such as Request and Response. So it will also work on the edge runtime, which uses the same Web Standard.
Fastly [email protected] #
Hono also works on Fastly [email protected] These is a starter kit for it, please refer them.
https://github.com/honojs/compute-starter-kit
“Serve Static” middleware is not supported for Fastly [email protected]
Node.js #
Hono is not designed for Node.js, but with a Node.js Adaptor it can run on Node.js as well.
import { serve } from '@honojs/node-server' // Write above `Hono`
import { Hono } from 'hono'
const app = new Hono()
app.get('/', (c) => c.text('Hono meets Node.js'))
serve(app)
Others #
These are not well tested but may work.
- Vercel Edge Functions
- Netlify Edge Functions
- Supabase Edge Functions