Jeff-Lewis / cls-hooked

cls-hooked : CLS using AsynWrap or async_hooks instead of async-listener for node 4.7+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express middleware

amiram opened this issue · comments

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

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

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