🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@firebase/functions

Package Overview
Dependencies
Maintainers
3
Versions
3557
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/functions

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

Source
npmnpm
Version
0.1.0-canary.14c2c4a
Version published
Weekly downloads
3M
-12.74%
Maintainers
3
Weekly downloads
 
Created
Source

@firebase/functions

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

Usage

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

ES Modules

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

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

CommonJS Modules

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

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

Documentation

For comprehensive documentation please see the Firebase Reference Docs.

FAQs

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