{"library":"exp-correlator","type":"library","category":null,"description":"exp-correlator is a Node.js library designed to manage and propagate a correlation ID across asynchronous operations and within Express.js applications. It leverages Node.js's `async_hooks` to automatically track a unique identifier through various async calls, eliminating the need to explicitly pass the ID between functions. The current stable version is 1.0.0, and while a specific release cadence isn't stated, active GitHub workflows suggest ongoing maintenance. Its primary differentiator is the use of `async_hooks` for transparent context propagation, integrating seamlessly as an Express middleware or through a standalone async handler, and providing direct examples for integration with logging libraries like Pino and HTTP clients like exp-fetch.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","express","middleware","correlation-id","correlation"],"last_verified":"Wed May 27","install":[{"cmd":"npm install exp-correlator","imports":["const { middleware } = require('exp-correlator');","const { getId } = require('exp-correlator');","const { attachCorrelationIdHandler } = require('exp-correlator');"]},{"cmd":"yarn add exp-correlator","imports":[]},{"cmd":"pnpm add exp-correlator","imports":[]}],"homepage":null,"github":"https://github.com/BonnierNews/exp-correlator","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/exp-correlator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/exp-correlator/compatibility"}}