skills/bun-guides-ecosystem-hono/SKILL.md
Build an HTTP server using Hono and Bun
npx skillsauth add jarle/bun-skills Bun Build an HTTP server using Hono and BunInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Hono is a lightweight ultrafast web framework designed for the edge.
import { Hono } from "hono";
const app = new Hono();
app.get("/", c => c.text("Hono!"));
export default app;
Use create-hono to get started with one of Hono's project templates. Select bun when prompted for a template.
bun create hono myapp
✔ Which template do you want to use? › bun
cloned honojs/starter#main to /path/to/myapp
✔ Copied project files
cd myapp
bun install
Then start the dev server and visit localhost:3000.
bun run dev
Refer to Hono's guide on getting started with Bun for more information.
development
Using TypeScript with Bun, including type definitions and compiler options
development
Learn how to write tests using Bun's Jest-compatible API with support for async tests, timeouts, and various test modifiers
testing
Learn how to use snapshot testing in Bun to save and compare output between test runs
testing
Learn about Bun test's runtime integration, environment variables, timeouts, and error handling