async-local-storage

JSON →
library 2.3.1 ·javascript maintenance
verified Jun 7, 2026

An async hooks-based thread-local-like storage for Node.js, providing per-call-chain context propagation. Version 2.3.1 supports Node >=8.0.0 using async_hooks. It offers scopable storage, linked top behavior, and create time tracking. Compared to alternatives like cls-hooked or async_hooks directly, it provides a simpler API but lacks built-in automatic cleanup and has known performance overhead. Last updated in 2018; no active maintenance observed.