Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more

ci

Fastro

Fast, simple, minimalist web framework for Deno.

Inspired by Fastify & Express.

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

const server = new Fastro();

server.get("/", (req) => req.send("root"));

await server.listen();

Examples

Other ways of using it include changing the default port, modify the header, modify default request, or adding plugins – you can see in: examples.

Benchmarks

If performance is important to you, here are the benchmark results:

Framework Version Router? Avg Req
Abc 1.0.0-rc8 βœ“ 1372.1
Deno http latest βœ— 2487.81
Express 4.17.1 βœ“ 517.3
Fastify 2.14.1 βœ“ 1175.5
Fastro latest βœ“ 1584
Node http 14.3.0 βœ— 2219.1
Oak 4.0.0 βœ“ 1136.6

Check this to see the detail method & results: benckmarks