JSPM

@firebase/app

0.1.8-canary.db389db
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8252442
  • Score
    100M100P100Q212402F
  • License Apache-2.0

The primary entrypoint to the Firebase JS SDK

Package Exports

  • @firebase/app

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@firebase/app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@firebase/app

This is the primary entrypoint to the Firebase JS SDK. All apps using firebase will need this package. Other @firebase packages are typically mounted on to the namespaces exposed by this package.

Installation

You can install this package by running the following in your project:

$ npm install @firebase/app

Usage

You can then use the firebase namespace exposed by this package as illustrated below:

ES Modules

Referencing the firebase export:

import { firebase } from '@firebase/app';

// Do stuff w/ `firebase`

Referencing the default export:

import firebase from '@firebase/app';

// Do stuff w/ `firebase`

CommonJS Modules

const firebase = require('@firebase/app').default;

// Do stuff with `firebase`

Documentation

For comprehensive documentation please see the Firebase Reference Docs.