@coderbuzz/velox
v0.9.1
Published
The modern standard for TypeScript backends - runtime-agnostic HTTP framework for Bun, Node.js, Deno, and Cloudflare Workers.
Maintainers
Readme
Velox — @coderbuzz/velox
TypeScript HTTP framework that ties Elysia on simple GETs on Bun and is ahead of Hono and Express in the linked benchmarks. Runtime-agnostic (Node.js, Deno, Bun, Cloudflare Workers) with full type inference, schema validation with any validator function, built-in WebSocket with pub/sub, 16+ production middleware (JWT, CORS, CSRF, sessions, etc.), file utilities, and AES-GCM encryption.
Why Velox?
- Benchmarked in public: every scenario, the method and the machine are in the benchmarks repo (
results/latest.json) - Full type inference through middleware chains via
define()scoping - Schema validation with any validator function, e.g.
@coderbuzz/veta(separate install) - Built-in WebSocket with pub/sub, ping/pong, and native topic hubs
- 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), Cloudflare Workers
Installation
npm install @coderbuzz/velox
npm install @coderbuzz/veta # optional, used belowQuick Start
import { AppServer } from "@coderbuzz/velox";
import { number, object, string } from "@coderbuzz/veta";
const app = new AppServer({ port: 3000 });
app.get("/", "Hello, Velox!");
app.get("/health", { status: "ok" });
app.post("/api/users", {
json: object({ 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
