β‘ Bun-first
Built directly on Bun's Request/Response primitives, Bun.serve, and test runnerβno Node polyfills.
Why bunWay?
import { bunway, cors, json } from "bunway";
const app = bunway();
app.use(cors({ origin: true }));
app.use(json());
app.get("/hello", (ctx) => ctx.res.json({ message: "Run everything. The Bun way." }));
app.listen(7070);
Drop the snippet into bun run
and see Bun-native routing in action.
Deep dive into WayRequest, WayResponse, and WayContext to master the building blocks.
Understand the routing lifecycle, middleware pipelines, and sub-routers with Bun-first ergonomics.
Explore body parsing, CORS, and error handling tutorials to keep everything Bun-native.
Jump into the roadmap and contribution guide to help shape bunWay.
Start with the Getting Started guide, then star us on GitHub and help shape the toolkit.