npm.io
9.0.2 • Published 3 years ago

@fanfix/nestjs-firebase

Licence
MIT
Version
9.0.2
Deps
173
Size
25 kB
Vulns
8
Weekly
0

@fanfix/nestjs-firebase

Install

npm install @fanfix/nestjs-firebase

Usage

Please note that this version of nestjs-firebase uses the applicationDefault() credentials. If this is not what you want, you should consider using the original:

https://github.com/g59/nestjs-plugins/tree/main/packages/nestjs-firebase

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

// using in service class
export class Service {
  constructor(
    @InjectFirebaseAdmin() private readonly firebase: FirebaseAdmin,
  ) {}
}

Contributing

PRs accepted.

License

MIT g59

Keywords