The one you are looking for is AsyncLocalStorage. Introduced in Node.js 12+ (stable in later versions), part of the async_hooks module. You can read more from here Even cls-hooked mentioned above internally uses this.
async_hooks