🔗 NestJS Async Context based on async_hooks
-
Updated
Oct 17, 2023 - TypeScript
🔗 NestJS Async Context based on async_hooks
Store context in http request's lifecycle.
A modular, production-grade utility toolkit for Node.js and TypeScript, designed for robust, scalable applications (including Express-based services). All utilities are tree-shakable and can be imported independently.
A formal architectural pattern for resolving and accessing context that is derived from the current request, such as the tenant, user, or locale.
Simple tools for NestJS framework and REST APIs
A lightweight, framework-agnostic request context manager for Node.js powered by native AsyncLocalStorage. Zero dependencies, type-safe, with Express, Fastify, and NestJS integrations.
Credential-free Cloudflare visitor location and request context for Laravel applications and Blade. No API tokens or outbound requests. by-dolly
Generic AsyncLocalStorage wrapper for context management
AsyncLocalStorage request context (requestId, traceId) for Node.js logging and tracing.
Request context forwarded through a native fetch, health probes, graceful shutdown and fatal-error handling for Node.js HTTP services, wired by one call. No runtime dependencies.
Ergonomic typed context for async flows using AsyncLocalStorage
To associate your repository with the request-context topic, visit your repo's landing page and select "manage topics."