📦 npm: https://www.npmjs.com/package/blazefw
💻 GitHub: https://github.com/imselmon/blaze
Blaze is fully open-source and contributions are welcome 🙌
Blaze is a zero-dependency, fully typed web framework designed for Cloudflare Workers. It provides an Express-style routing experience, enabling developers to build fast APIs that leverage Cloudflare's edge computing capabilities.
Familiar Developer Experience: Offers `(req, res, next)` handlers, chainable routing, and composable middleware, mirroring the ergonomics of Express.
Cloudflare-Native Integration: Seamlessly access Cloudflare primitives like KV, D1, R2, Durable Objects, Queues, and AI directly from your handlers via a typed `env` object.
Zero Dependencies: Built entirely on Web Standard APIs, ensuring no npm bloat and minimizing supply-chain risk.
Performance Optimized: Features a trie-based router for efficient route resolution, contributing to fast cold starts and low request latency.
Extensible Middleware: Includes 12 built-in, tree-shakeable middleware modules for functionalities such as JWT authentication, KV rate limiting, CORS, caching, and compression.
Type Safety: Provides full type safety for environment bindings, parameters, and custom middleware.
Easy Setup: Scaffold a new Blaze worker project in under five minutes using `npm create blazefw-app@latest`.
Blaze prioritizes zero dependencies, Cloudflare-native design, and a familiar developer experience, making it an ideal choice for building performant and scalable applications on Cloudflare's edge.
Built with