@mknosens/express-traceid

2.0.0 • Public • Published

Adds a traceid to your Express request

  • Uses UUID v1 to generate a new trace id for each request
  • Sets it in the Express request object (req.traceId), which can be used by the logger in the code
  • Sets it in the Express response header ('X-Trace-Id'), which can be shown to the consumer when things fail

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    1
  • 1.0.2
    0

Package Sidebar

Install

npm i @mknosens/express-traceid

Weekly Downloads

1

Version

2.0.0

License

ISC

Unpacked Size

1.07 kB

Total Files

3

Last publish

Collaborators

  • mknosens