What problem does it solve?
TypeScript clean architecture implementation with *.system.ts convention, interface-based DI, namespace API pattern, and coverage configuration. Use when creating or refactoring TypeScript modules with external dependencies, writing system wrappers, defining interfaces for Azure SDK or Cloudflare API, or configuring coverage exclusions.
Core Features & Use Cases
- System files: thin wrappers, no business logic, and support for DI through constructor parameters.
- Interfaces: contracts named with I{Domain} and minimal surface area to keep platform-agnostic.
- Dependency Injection: pass deps object and override defaults as needed.
- Namespace API pattern: Classes with static methods to organize domain logic.
- Coverage configuration: bunfig.toml exclusions for {domain}.*.system.ts and related files.
- Module scaffolding: folder structures with index.ts barrel exports.
Quick Start
Create a new module following the *.system.ts convention, write interface contracts, and wire dependencies via DI.