Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@crumbjs/worker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@crumbjs/worker | Build, Validate & Document APIs. Fast (for the edge!)
- The tasty way to build fast apis.
CrumbJS is a lightweight API framework. @crumbjs/worker is the Cloudflare Workers–ready build, derived from @crumbjs/core.
Features
- Built on top of Radix3 FAST router Rou3
- Zod-based validation and types for bodies, queries, path params and headers
- Automatic OpenAPI 3.1 document generation and UI (Scalar -default- or Swagger)
- Simple middleware system and optional global middlewares
- Simple proxy helpers to forward requests and (optionally) document them (to an url or a cloudflare service binding)
Documentation
Contribute
The best contribution is to use CrumbJS in the wild. If you want to go further:
- ⭐ Star the repo: https://github.com/tuplescompany/crumbjs
- 🐞 Report a bug
- 💡 Request a feature
- 🧰 PRs welcome (small, focused changes)
- ☕ Buy me a coffee
Thanks for helping us keep the framework lean, type-safe, and fast to ship.