Socket
Book a DemoInstallSign in
Socket

@firebase/database

Package Overview
Dependencies
Maintainers
3
Versions
3649
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/database

This is the realtime database 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 packa

Source
npmnpm
Version
0.1.11-canary.0fa319e
Version published
Weekly downloads
5.1M
-13.56%
Maintainers
3
Weekly downloads
 
Created
Source

@firebase/database

This is the realtime database 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/database

Usage

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

ES Modules

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

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

CommonJS Modules

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

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

Documentation

For comprehensive documentation please see the Firebase Reference Docs.

FAQs

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