globe-pointerInstallation

npm install @nestjstools/clock

or

yarn add @nestjstools/clock

🧩 NestJS Integration

Register the module:

import { Module } from '@nestjs/common';
import { ClockModule } from '@nestjstools/clock';

@Module({
  imports: [
    ClockModule.forRoot(), // global by default
  ],
})
export class AppModule {}

You can also use .forFeature() if needed.

Last updated

Was this helpful?