JavaScript Tools: Sharing dependencies across a request with express-http-context

Опубликовано: 21 Май 2026
на канале: Joel Codes
718
21

Sharing dependencies across http requests in express can be simple with the express-http-context package.

Sometimes it's not convenient to pass every dependency down as an argument and it would be nice if the function was just smart enough to know it was in an http context.

The express-http-context package:
https://www.npmjs.com/package/express...

How I setup my ESLint + Prettier:
   • Beginner JavaScript: Prettier + ESLint + H...  

Express Easy Routes:
https://www.npmjs.com/package/@paciol...