node-cls: Continuation Local Storage

JSON →
library 1.0.7 ·javascript
verified Jun 7, 2026

Continuation Local Storage (CLS) for Node.js based on async_hooks, providing context propagation across async calls. Version 1.0.7 is stable and works with Node >=8.0.0. It is an alternative to the deprecated domain module and offers nested contexts, Symbol keys to avoid collisions, and an await-compatible start() method (Node 12+). Unlike similar libraries like cls-hooked or async-hooks-context, node-cls focuses on a simple API with create, run, get, start, and exit methods. Release cadence is low; no recent updates.