npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nestjs-pipeline/correlation

v0.6.1

Published

Correlation ID propagation for NestJS under the @nestjs-pipeline name: re-exports @cqrs-ddd/pipeline-correlation and @cqrs-ddd/nestjs/correlation, which hold the code

Readme

@nestjs-pipeline/correlation

The main repository is ddd-cqrs. You can use @cqrs-ddd/pipeline-correlation and @cqrs-ddd/nestjs directly.

This package has no code of its own. From 0.6.1 it re-exports @cqrs-ddd/pipeline-correlation and @cqrs-ddd/nestjs/correlation at the same version. The code, the issues and the releases are in ddd-cqrs. The documentation is at aristoteliss.github.io/ddd-cqrs.

This package is not deprecated. An application can keep the @nestjs-pipeline/correlation name, or replace it with the @cqrs-ddd packages. The import paths change, and the code stays the same. Versions 0.1 to 0.4 stay on npm unchanged.

npm version License

Correlation ID propagation for NestJS applications: HTTP, Bull/BullMQ, RabbitMQ, Kafka, NATS, gRPC, cron jobs and custom transports.

Documentation: @cqrs-ddd/pipeline-correlation · @cqrs-ddd/nestjs/correlation · from @nestjs-pipeline 0.4.x

Installation

pnpm add @nestjs-pipeline/correlation @cqrs-ddd/pipeline-correlation \
  @cqrs-ddd/pipeline @cqrs-ddd/core @nestjs/common @nestjs/core @nestjs/cqrs

Requires Node.js 22.12 or later and NestJS 12.

Exports

  • Everything of @cqrs-ddd/pipeline-correlation: getCorrelationId, runWithCorrelationId, @WithCorrelation, httpCorrelation, correlationSource and the CorrelationFrom presets.
  • Everything of @cqrs-ddd/nestjs/correlation: CorrelationMiddleware.

Example

import { CorrelationMiddleware } from '@nestjs-pipeline/correlation';
import { type MiddlewareConsumer, Module, type NestModule } from '@nestjs/common';

@Module({})
export class AppModule implements NestModule {
  configure(consumer: MiddlewareConsumer) {
    consumer.apply(CorrelationMiddleware).forRoutes('*');
  }
}

Upgrade from 0.4.x

The API of 0.6.1 is the API of @cqrs-ddd 0.6.1. The guide From @nestjs-pipeline 0.4.x gives all the changes. The changes for this package:

  • HttpCorrelationMiddleware is CorrelationMiddleware. It reads the x-correlation-id header. For other options, make a middleware from httpCorrelation(options).
  • CORRELATION_OPTIONS is not exported.
  • The package requires the peers of @cqrs-ddd/nestjs: @cqrs-ddd/core, @cqrs-ddd/pipeline, @nestjs/core and @nestjs/cqrs.

License

Dual-licensed under AGPL-3.0-or-later or a Commercial License. See LICENSE and COMMERCIAL_LICENSE.txt at the repository root.