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

10.5.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

/nestjs-firebase/

    Package Sidebar

    Install

    npm i nestjs-firebase

    Weekly Downloads

    3,925

    Version

    10.5.0

    License

    MIT

    Unpacked Size

    24.8 kB

    Total Files

    36

    Last publish

    Collaborators

    • 9renpoto
    • yasai-t
    • abyssparanoia