Package Exports
- @coderbuzz/velox
Readme
Velox — @coderbuzz/velox
#1 fastest TypeScript backend framework — 262K req/s on Bun, ahead of Elysia, Hono, and Express. Runtime-agnostic (Node.js, Deno, Bun) with full type inference, schema validation via @coderbuzz/veta, built-in WebSocket with pub/sub, 16+ production middleware (JWT, CORS, CSRF, sessions, etc.), file utilities, and AES-GCM encryption.
Why Velox?
- ~262K req/s (Bun, simple GET) — see benchmarks repo for full comparisons
- Full type inference through middleware chains via
define()scoping - Schema validation using
@coderbuzz/veta— lightweight at <5 KB gzip - Built-in WebSocket with pub/sub, binary protocol (KBWP), client SDK
- 16+ middleware included — JWT, CORS, sessions, CSRF, secure headers, etc.
- File utilities — sendFile (with ETag/Range), receiveFiles, listDirectory
- Runtime agnostic — Bun, Deno, Node (with optional uWebSockets.js)
Installation
npm install @coderbuzz/veloxQuick Start
import { AppServer } from "@coderbuzz/velox";
const app = new AppServer({ port: 3000 });
app.get("/", "Hello, Velox!");
app.get("/health", { status: "ok" });
app.post("/api/users", {
json: { name: "string", age: "number" },
}, async (ctx) => {
const body = await ctx.json;
return Response.json({ received: body });
});
const { hostname, port } = await app.run();
console.log(`Listening on ${hostname}:${port}`);Documentation
Full API reference, migration guide, and benchmark details: DOCS.md
License
MIT © 2026 Indra Gunawan