firebase-functions

WebJar for firebase-functions

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

firebase-functions
Last Version

Last Version

0.5.2
Release Date

Release Date

Type

Type

jar
Description

Description

firebase-functions
WebJar for firebase-functions
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/firebase/firebase-functions

Download firebase-functions

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/firebase-functions/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>firebase-functions</artifactId>
    <version>0.5.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/firebase-functions/
implementation 'org.webjars.npm:firebase-functions:0.5.2'
// https://jarcasting.com/artifacts/org.webjars.npm/firebase-functions/
implementation ("org.webjars.npm:firebase-functions:0.5.2")
'org.webjars.npm:firebase-functions:jar:0.5.2'
<dependency org="org.webjars.npm" name="firebase-functions" rev="0.5.2">
  <artifact name="firebase-functions" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='firebase-functions', version='0.5.2')
)
libraryDependencies += "org.webjars.npm" % "firebase-functions" % "0.5.2"
[org.webjars.npm/firebase-functions "0.5.2"]

Dependencies

compile (8)

Group / Artifact Type Version
org.webjars.npm » sha1 jar [1.1.1,2)
org.webjars.npm » types__jsonwebtoken jar [7.1.32,8)
org.webjars.npm : jsonwebtoken jar [7.1.9,8)
org.webjars.npm : types__lodash jar [4.14.34,5)
org.webjars.npm » types__sha1 jar [1.1.0,2)
org.webjars.npm : express jar [4.0.33,5)
org.webjars.npm : types__express jar [4.0.33,5)
org.webjars.npm : lodash jar [4.6.1,5)

Project Modules

There are no modules declared in this project.

Firebase SDK for Cloud Functions

The firebase-functions package provides an SDK for defining Cloud Functions for Firebase.

Cloud Functions is a hosted, private, and scalable Node.js environment where you can run JavaScript code. The Firebase SDK for Cloud Functions integrates the Firebase platform by letting you write code that responds to events and invokes functionality exposed by other Firebase features.

Learn more

Learn more about the Firebase SDK for Cloud Functions in the Firebase documentation or check out our samples.

Here are some resources to get help:

If the official documentation doesn't help, try asking through our official support channels: https://firebase.google.com/support/

Please avoid double posting across multiple channels!

Usage

// functions/index.js
const functions = require('firebase-functions');
const notifyUsers = require('./notify-users');

exports.newPost = functions.database
  .ref('/posts/{postId}')
  .onCreate((snapshot, context) => {
    functions.logger.info('Received new post with ID:', context.params.postId);
    return notifyUsers(snapshot.val());
  });

Contributing

To contribute a change, check out the contributing guide.

License

© Google, 2017. Licensed under The MIT License.

org.webjars.npm

Firebase

Versions

Version
0.5.2