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.

6 lines 238 B
import { AsyncLocalStorage } from 'node:async_hooks'; export const requestContext = new AsyncLocalStorage(); export function requestContextMixin() { return requestContext.getStore() ?? {}; } //# sourceMappingURL=request-context.js.map