Preparing for system design interviews?  Try bugzed.com →

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.

total hits 9
actors 2 distinct systems
last hit 17d ago AhrefsBot
GPTBot
3
Humans
5

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇬🇧 United Kingdom · 🇨🇦 Canada