Stratal
- 1 follower
- Portugal
- https://stratal.dev
A modular Cloudflare Workers framework with automatic OpenAPI documentation, dependency injection, queue consumers, cron jobs, and type-safe configuration.
What is Stratal?
Stratal is a TypeScript framework for building Cloudflare Workers applications with automatic OpenAPI documentation, modular architecture, and dependency injection. Define your Zod schemas once and get a full OpenAPI 3.0 spec with interactive docs — while using familiar patterns from frameworks like NestJS at the edge.
Features
- OpenAPI Documentation — Define Zod schemas once and get a full OpenAPI 3.0 spec with Scalar docs UI, auto-derived HTTP methods and status codes, error schemas, and security definitions
- Dependency Injection — Two-tier DI container (global + request-scoped) powered by tsyringe with Symbol-based tokens
- Modular Architecture — NestJS-style
@Module()decorator pattern with lifecycle hooks, dynamic modules, and middleware configuration - Hono Routing — Convention-based RESTful controllers with
@Controllerand@Routedecorators, auto-mapped to HTTP methods - Queue Consumers — Typed Cloudflare Queue consumers with message-type filtering
- Cron Jobs — Scheduled tasks via Cloudflare Workers cron triggers
- Storage — S3-compatible file storage with presigned URLs and TUS upload support
- Email — Resend and SMTP providers with React Email template support
- Internationalization — Type-safe i18n with locale detection from request headers
- Guards & Middleware — Route protection with guard decorators and per-module middleware configuration
Packages
| Package | Description |
|---|---|
stratal |
Core framework |
@stratal/testing |
Test utilities, mocks, and factories |
Links
Pinned Loading
-
stratal stratal Public
A modular framework for building Cloudflare Workers with dependency injection, OpenAPI documentation, queues, cron jobs, and more.
Repositories
Showing 5 of 5 repositories-
stratal
Public
A modular framework for building Cloudflare Workers with dependency injection, OpenAPI documentation, queues, cron jobs, and more.
Uh oh!
There was an error while loading. Please reload this page.
strataljs/stratal's past year of commit activity TypeScript 17 MIT 1 0 20 Updated Dec 2, 2026 -
docs
Public
Uh oh!
There was an error while loading. Please reload this page.
strataljs/docs's past year of commit activity MDX 0 MIT 0 0 1 Updated Oct 2, 2026 -
create-stratal
Public
Scaffold a new Stratal project from official templatesr
Uh oh!
There was an error while loading. Please reload this page.
strataljs/create-stratal's past year of commit activity TypeScript 0 MIT 0 0 0 Updated Sep 20, 2026 -
examples
Public
Stratal examples
Uh oh!
There was an error while loading. Please reload this page.
strataljs/examples's past year of commit activity TypeScript 1 0 0 0 Updated Sep 20, 2026 -
.github
Public
Uh oh!
There was an error while loading. Please reload this page.
strataljs/.github's past year of commit activity 0 0 0 0 Updated Feb 25, 2026
People
This organization has no public members. You must be a member to see who’s a part of this organization.
Top languages
Loading…
Uh oh!
There was an error while loading. Please reload this page.
Most used topics
Loading…
Uh oh!
There was an error while loading. Please reload this page.
