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({ port: 8000 });
For other details, 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 | ✓ | 1047.8 |
Deno http |
latest | ✗ | 2175.31 |
Express | 4.17.1 | ✓ | 527.1 |
Fastify | 2.14.1 | ✓ | 1540.8 |
Fastro | latest | ✓ | 1668 |
Node http |
14.3.0 | ✗ | 2504.4 |
Oak | latest | ✗ | 1088.3 |
Check this to see the detail method & results: benckmarks