@tdsoft/request-id

0.2.4 • Public • Published

##request-id Simple package based on async-local-storage that let you have context identification of request by storing it id as "x-request-id" in async local storage. Attaching middleware to your express services let you have "x-request-id" grabbed from request, or created if its not here. Requester is simple node http/https wrapper that'll auto attach "x-request-id" to your headers so the id can be passed further.

Package Sidebar

Install

npm i @tdsoft/request-id

Weekly Downloads

0

Version

0.2.4

License

ISC

Unpacked Size

4.46 kB

Total Files

5

Last publish

Collaborators

  • tdsoft