UNPKG

@sentzunhat/zacatl

Version:

A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.

18 lines 543 B
import { Application } from './application/index.js'; import { Domain } from './domain/index.js'; import { Infrastructure } from './infrastructure/index.js'; export class Layers { constructor(config) { const { application, domain, infrastructure } = config; if (infrastructure) { new Infrastructure(infrastructure); } if (domain) { new Domain(domain); } if (application) { new Application(application); } } } //# sourceMappingURL=layers.js.map