Bun, Deno & Node.js in Hono

From the Hono cheat sheet · Deployment · verified Jul 2026

Bun, Deno & Node.js

Deploy to other JavaScript runtimes

typescript
// ========== BUN ==========
// src/index.ts
import { Hono } from 'hono'

const app = new Hono()
app.get('/', (c) => c.text('Hello Bun!'))

export default app
// or: export default { port: 3000, fetch: app.fetch }

# Run
bun run src/index.ts

// ========== DENO ==========
// main.ts
import { Hono } from 'npm:hono'

const app = new Hono()
app.get('/', (c) => c.text('Hello Deno!'))

Deno.serve(app.fetch)

# Run
deno run --allow-net main.ts

// ========== NODE.JS ==========
import { Hono } from 'hono'
import { serve } from '@hono/node-server'

const app = new Hono()
app.get('/', (c) => c.text('Hello Node!'))

serve({ fetch: app.fetch, port: 3000 })
💡 Bun: export default app or { port, fetch }
⚡ Deno: Deno.serve(app.fetch)
📌 Node: npm install @hono/node-server
🎯 Vercel/Lambda: use handle() adapter

More Hono tasks

Back to the full Hono cheat sheet