node-context-storage

JSON →
library 1.0.4 ·javascript
verified Jun 7, 2026

A lightweight utility for managing asynchronous context in Node.js using AsyncLocalStorage. v1.0.4 provides a simple API to create, get, set, and run context across async boundaries, with built-in Express middleware for request-level context. Unlike heavy solutions like continuation-local-storage or cls-hooked, it leverages Node's native AsyncLocalStorage for performance and reliability. Ships TypeScript definitions. Updated infrequently (last release Nov 2023).