⚡ Fastro Framework
The Fast, Simple, and Scalable Web Framework for Deno
Fastro is engineered for developers who refuse to compromise. It combines extreme performance with an elegant API, allowing you to build high-throughput microservices and web applications without the friction of traditional frameworks.
✨ Why Fastro?
- 🚀 Blazing Fast: Optimized to reach near-native Deno speeds. Compare the results.
- 🛠️ Zero Friction: Return JSON, strings, or Responses directly. No boilerplate, just code.
- 📦 Ultra Lightweight: Zero external dependencies. Built entirely on Deno standards.
- 🏗️ Built to Scale: Organized directory-based module loading for complex applications.
- 🛡️ Rock Solid: 100% test coverage and first-class TypeScript support.
🏁 Quick Start
import Fastro from "https://deno.land/x/fastro/mod.ts";
const app = new Fastro();
// Simple GET with URL parameters
app.get("/user/:id", (req, ctx) => {
return { id: ctx.params.id, status: "active" };
});
// Powerful middleware
app.use((req, ctx, next) => {
console.log(`${req.method} ${ctx.url.pathname}`);
return next();
});
await app.serve({ port: 8000 });📚 Resources
- Get Started - Comprehensive documentation and API reference.
- Benchmarks - See how Fastro crushes performance tests.
- Middleware - Explore the ecosystem and official plugins.
- Showcase - See what others are building with Fastro.
- Contribute - Help us build the future of Deno web development.