Skip to main content
Deno 2 is finally here 🎉️
Learn more

High-performance, minimalist web framework for Deno

Fastro

CI Coverage Status

Fastro is a high-performance, zero-dependency web framework for Deno. It’s built for developers who care about speed, type-safety, and clean code.

  • Blazing Fast: Reaches near-native Deno speeds (Benchmarks).
  • Zero Dependency Core: Minimalist engine with no external dependencies.
  • Zero Friction: Return JSON, strings, or Responses directly.
  • Built to Scale: Automatic module loading.
  • Rock Solid: 100% core test coverage.

Start in seconds

import Fastro from "https://deno.land/x/fastro/mod.ts";

const app = new Fastro();

app.get("/user/:id", (req, ctx) => {
  return { id: ctx.params.id, status: "active" };
});

app.serve({ port: 8000 });

Convenience tasks (via deno.json):

  • Start the app:
    deno task start
  • Run the local benchmark script (requires k6):
    deno task bench
  • Run the test suite:
    deno task test
  • Produce LCOV coverage:
    deno task cov

Resources