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

@firebase/messaging

Package Overview
Dependencies
Maintainers
3
Versions
3585
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/messaging

This is the messaging component for the Firebase JS SDK. It has a peer dependency on the [`@firebase/app`](https://npm.im/@firebase/app) package on NPM. This package is included by default in the [`firebase`](https://npm.im/firebase) wrapper package.

Source
npmnpm
Version
0.2.2-canary.ab0faeb
Version published
Weekly downloads
3.5M
-0.44%
Maintainers
3
Weekly downloads
 
Created
Source

@firebase/messaging

This is the messaging component for the Firebase JS SDK. It has a peer dependency on the @firebase/app package on NPM. This package is included by default in the firebase wrapper package.

Installation

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

$ npm install @firebase/messaging

Usage

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

ES Modules

import firebase from '@firebase/app';
import '@firebase/messaging'

// Do stuff w/ `firebase` and `firebase.messaging`

CommonJS Modules

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

// Do stuff with `firebase` and `firebase.messaging`

Documentation

For comprehensive documentation please see the Firebase Reference Docs.

FAQs

Package last updated on 22 Mar 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