@bunary/http
v0.3.0
Published
HTTP routing and middleware for Bunary - a Bun-first backend framework inspired by Laravel
Maintainers
Readme
@bunary/http
Lightweight, type-safe HTTP framework for Bun. Routes, middleware, groups, named routes, constraints. Full reference: docs/index.md.
Installation
bun add @bunary/httpQuick Start
import { createApp } from '@bunary/http';
const app = createApp();
app.get('/hello', () => ({ message: 'Hello, Bun!' }));
app.listen({ port: 3000 });For createApp options, route groups, middleware, named routes, and types, see docs/index.md.
License
MIT
