TriFrost

TriFrost

A blazing-fast, runtime-agnostic server framework built for the modern JavaScript ecosystem โ€” from low-latency edge environments to traditional backend infrastructure

๐Ÿง  Runtime-Agnostic

Run on Node, Bun, Workerd โ€” no rewrites

๐Ÿ“ฆ Modular Middleware

Inspired by Koa, written for scale

โšก Zero-cost Abstractions

Context, Router, ... all inlined for performance

๐Ÿ“ˆ Introspectable Tracing

Otel-native, per-request, per-span, autoredacted

๐Ÿ“‰ Built-in Rate Limiting

Memory, KV, Redis, DurableObject support

๐Ÿงช Fully Typed API

First-class TypeScript support throughout

๐ŸŸข Built for speed

Read the blog post
TriFrostLatency: 5.91 ms|156.22k req/sec
HonoLatency: 6.63 ms|140.83k req/sec
ElysiaLatency: 6.77 ms|138.38k req/sec
KoaLatency: 6.99 ms|133.97k req/sec
ExpressLatency: 9.19 ms|103.48k req/sec

๐Ÿš€ Try the CLI

Spin up a new TriFrost project in seconds or generate security keys on the fly with a single command.
No config, no hassle.

CLI Quickstart Guide

Ready for the frontier?

npm create trifrost@latest