Skip to content

caddijp/nestjs-cloud-pubsub

Repository files navigation

nestjs-cloud-pubsub

Actions Status Coverage Status

The @google-cloud/pubsub NestJS module

Install

npm install nestjs-cloud-pubsub @google-cloud/pubsub

Usage

@Module({
  imports: [PubsubModule.forRoot({})],
})
export class AppModule {}

Inject Pubsub instance

@Injectable()
export class AppService {
  constructor(
    @InjectPubsub()
    private readonly pubsub: Pubsub
  ) {}
}

Contributing

PRs accepted.

License

MIT © CADDi Co.,Ltd

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •