Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FirebaseApp

A {@link @firebase/app#FirebaseApp} holds the initialization information for a collection of services.

Do not call this constructor directly. Instead, use {@link (initializeApp:1) | initializeApp()} to create an app.

interface FirebaseApp {
automaticDataCollectionEnabled: boolean;
readonly name: string;
readonly options: FirebaseOptions;
}

§Properties

§
automaticDataCollectionEnabled: boolean
[src]

The settable config flag for GDPR opt-in/opt-out

§
readonly name: string
[src]

The (read-only) name for this app.

The default app's name is "[DEFAULT]".

@example
// The default app's name is "[DEFAULT]"
const app = initializeApp(defaultAppConfig);
console.log(app.name);  // "[DEFAULT]"
@example
// A named app's name is what you provide to initializeApp()
const otherApp = initializeApp(otherAppConfig, "other");
console.log(otherApp.name);  // "other"
§
readonly options: FirebaseOptions
[src]

The (read-only) configuration options for this app. These are the original parameters given in {@link (initializeApp:1) | initializeApp()}.

@example
const app = initializeApp(config);
console.log(app.options.databaseURL === config.databaseURL);  // true