nestjs-firebase
TypeScript icon, indicating that this package has built-in type declarations

10.4.0 • Public • Published

nestjs-firebase

Actions Status npm version

Install

npm install nestjs-firebase

Usage

@Module({
  imports: [
    FirebaseModule.forRoot({
      googleApplicationCredential: "path/to/credential file.json",
    }),
  ],
})
export class AppModule {}

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

Contributing

PRs accepted.

License

MIT © g59

Dependents (3)

Package Sidebar

Install

npm i nestjs-firebase

Weekly Downloads

3,440

Version

10.4.0

License

MIT

Unpacked Size

24.8 kB

Total Files

36

Last publish

Collaborators

  • 9renpoto
  • yasai-t
  • abyssparanoia