Thank you for your interest in contributing. This project is maintained by Stackbilt.
- Fork the repository
- Clone your fork
- Install dependencies:
npm install - Run the type checker:
npm run typecheck
This package targets Cloudflare Workers. All code must be compatible with the Workers runtime (no Node.js-only APIs).
src/
types.ts Type definitions
health.ts Health checks and aggregation
logger.ts Structured JSON logging
metrics.ts Metrics collection and export
tracing.ts Distributed tracing (W3C Trace Context)
errors.ts Error tracking, circuit breaker, retry
dashboard.ts Dashboard aggregation and HTML generation
sli-monitor.ts SLI/SLO monitoring
alert-manager.ts Alert rules and incident management
index.ts Public API exports
- Zero production dependencies is the goal. Avoid adding runtime dependencies.
- All Cloudflare-specific types come from
@cloudflare/workers-types(dev dependency). - Keep modules independent. Each file should work standalone with only
./typesas a shared dependency. - Maintain backward compatibility. Breaking changes require a major version bump.
- Create a branch from
main - Make your changes
- Ensure
npm run typecheckpasses - Open a pull request with a clear description of what changed and why
By contributing, you agree that your contributions will be licensed under the Apache-2.0 license.