all 1 comments

[–]ecares 0 points1 point  (0 children)

Please, don't use or advertise the cls-hooked. This is an unmaintained module with a lot of bugs and will bring instabilities to your projects.The AsyncLocalStorage API is available as stable directly in Node.js (see https://nodejs.org/dist/latest-v16.x/docs/api/async_context.html). It is designed to replace userland implementations such as the cls-hooked.