Skip to content
Projets

À propos

The Fast, Simple, and Scalable Web Framework for Deno

Développement web et applicatif

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

High-performance, minimalist web framework for Deno

Fastro

Deno License Release Coverage Status Performance

Fastro is a blazing-fast, type-safe, and zero-dependency web framework meticulously engineered for Deno. It is built for developers who demand peak performance without sacrificing a clean and intuitive developer experience.

🚀 Engineered for Speed

Achieve — and exceed — native Deno throughput. Powered by pre-built middleware chains, unified cache fast-path, and serve-time handler selection, Fastro eliminates per-request dispatch overhead entirely. Lifecycle hooks (onRequest, onResponse, onError) are zero-cost when not registered. (Benchmarks)

💎 Zero-Friction DX

Write clean, declarative code. Return JSON objects, strings, or native Responses directly from your handlers. Full lifecycle hook support (onRequest, onResponse, onError) for cross-cutting concerns. No boilerplate, no complex abstractions—just pure productivity.

📦 Zero Dependency Core

A minimalist, rock-solid engine with absolutely no external dependencies. Keep your stack light, secure, and easy to maintain.

🏙️ Built to Scale

Easily manage complex architectures with automatic module loading and a modular design that grows with your application.

🛡️ Rock Solid Reliability

Deploy with absolute confidence. Fastro guarantees industrial-grade stability with 100% branch and line coverage across the entire project core.

⚡ Quick Start

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

Explorer des projets similaires

Chargement…