Skip to content

g59/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

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%