@mest-fe/request-id
v0.1.1
Published
This repository integrates Mest internal environment variables and is not suitable for all nestjs projects.
Downloads
14
Keywords
Readme
Request ID for Mest APIs
This repository integrates Mest internal environment variables and is not suitable for all nestjs projects.
request-id
will create a unique id for each request as it comes in and write it to the header at the end of the request.
Usage
- Install:
pnpm add @mest-fe/request-id
- Import and use it in your project:
import { RequestIdModule } from '@mest-fe/request-id'
@Module({
imports: [RequestIdModule],
})
export class AppModule {}