Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@firebase/app

Package Overview
Dependencies
Maintainers
3
Versions
3664
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/app

The primary entrypoint to the Firebase JS SDK

Source
npmnpm
Version
0.1.8-canary.2db58a0
Version published
Weekly downloads
3.2M
-13.55%
Maintainers
3
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 05 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts