Jeff-Lewis / cls-hooked

cls-hooked : CLS using AsynWrap or async_hooks instead of async-listener for node 4.7+
BSD 2-Clause "Simplified" License
758 stars 89 forks source link

Express middleware #18

Open amiram opened 6 years ago

amiram commented 6 years ago

I've forked exress-http-context and replaced cls with this fork to support async/await. Feel free to try it. https://www.npmjs.com/package/express-cls-hooked

Jeff-Lewis commented 6 years ago

@amiram nice! I see it was merged into express-http-context. I'll have to give it a try.

zhujun24 commented 4 years ago

I have write a tidy npm package http-request-context to do this, using async_hooks, u can try it.