6.2.0 • Published 3 days ago

firebase-functions v6.2.0

Weekly downloads
479,452
License
MIT
Repository
github
Last release
3 days ago

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 { onValueCreated } = require("firebase-functions/database");
const logger = require("firebase-functions/logger");
const notifyUsers = require("./notify-users");

exports.newPost = onValueCreated({ ref: "/posts/{postId}" }, (event) => {
  logger.info("Received new post with ID:", event.params.postId);
  return notifyUsers(event.data.val());
});

Contributing

To contribute a change, check out the contributing guide.

License

© Google, 2017. Licensed under The MIT License.

firebase-testing@zkmpc/backend@larcity/domainerfns-gmloveyouforms-app@lucid-systems/bb-functionstanam-awepeplanhr-base-firebasegreenpay-sdkclassum-backendloveyouforms-oneloveyouforms-schemafirebase-lightloveyouforms-devloveyouforms-envsmoothy-core-test@classum/classum-pdf-statistics-exportsonghole-frameworkaclipp-modelshosting-androidbase-cloud-functionscentauro-node-component@csdevcloud/cs-core@turnslate/functionsfirebase-billing-limiterfirebase-async-triggerfirebase-messanger-apifirestore-searchkoylu-vampir-api2express-typescript-templatesvelte-petit-libsgramstr-libzoomsense-plugin-interaction@dimetrail/firebase@dimetrail/firebase-utilsmarketfeedgoogle-nodejsresulticks_sdk_alexa@everything-registry/sub-chunk-1670lidev1testfixedtypespackagefixedtypespackage@reiwa/errorscanasta-firebase-functions@lenfromkits/firestore-server-libtanamsveltecmstest-firestore-dalwith-firebase-hostingwebcode-rowy-backend-tmpsaastarter-firesaas-templateserverless-firebase-functionssanctionsshipengine-firebase-common-librescue-fireretrycfsupercore-apistaq-serversdk.cerditocapitalistavibez-coredash_forgemetazza-graphqllinebot-functionslms-sharedjav-alpha-apiillumvelitisomorphicdbinsikt-api-resourceioauth-masterlouder.ailoveyouformsma-core-utilsmonster-sf-connectormp-firestore-jsonjustachatapp-sdkkuxiarqgsheet-menu-pos-exporterhnpwa-apiikas-fluxatuikas-toolsincendiogphotos-cdnhandler-firebasekiaikira-server-firebasekira-core-firebasekira-firebase-serverlangdrivelandingpage-servicemongodb-connection-csamulti-factor-authentication-aaronmusicphile-input-libnd-account-functionsmasmott-firebasemasmott-functionspareto-chartsparkzen-helperorb-firebaseowltech
6.1.2

13 days ago

6.2.0

3 days ago

6.1.1

1 month ago

6.1.0

2 months ago

5.1.1

4 months ago

6.0.1

3 months ago

6.0.0

3 months ago

5.1.0

4 months ago

5.0.1

8 months ago

5.0.0

8 months ago

4.9.0

9 months ago

4.8.2

9 months ago

4.8.1

9 months ago

4.8.0

10 months ago

4.7.0

11 months ago

4.6.0

12 months ago

4.5.0

1 year ago

4.4.1

2 years ago

4.4.0

2 years ago

4.3.1

2 years ago

4.3.0

2 years ago

4.2.1

2 years ago

4.2.0

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.0.2

2 years ago

4.0.0-rc.0

2 years ago

4.1.0

2 years ago

4.1.1

2 years ago

3.24.0

2 years ago

3.24.1

2 years ago

3.23.0

2 years ago

3.22.0

2 years ago

3.21.2

3 years ago

3.21.1

3 years ago

3.21.0

3 years ago

3.20.0

3 years ago

3.20.1

3 years ago

3.19.0

3 years ago

3.17.0

3 years ago

3.17.2

3 years ago

3.17.1

3 years ago

3.18.1

3 years ago

3.18.0

3 years ago

3.16.0

3 years ago

3.15.7

3 years ago

3.15.6

3 years ago

3.15.5

3 years ago

3.15.4

3 years ago

3.15.2

3 years ago

3.15.3

3 years ago

3.15.0

3 years ago

3.15.1

3 years ago

3.13.3

4 years ago

3.14.1

4 years ago

3.14.0

4 years ago

3.13.2

4 years ago

3.13.1

4 years ago

3.13.0

4 years ago

3.12.0

4 years ago

3.11.0

4 years ago

3.10.0

4 years ago

3.9.1

4 years ago

3.9.0

4 years ago

3.8.0

4 years ago

3.7.0

5 years ago

3.6.2

5 years ago

3.6.1

5 years ago

3.6.0

5 years ago

3.5.0

5 years ago

3.4.0

5 years ago

3.3.0

5 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.0.2

5 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.3.1

6 years ago

2.3.0

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.9.1

7 years ago

0.9.0

7 years ago

0.8.2

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.5

7 years ago

0.7.4

7 years ago

0.7.3

7 years ago

0.7.2

7 years ago

0.7.1

7 years ago

0.7.0

7 years ago

0.6.3

7 years ago

0.6.2

7 years ago

0.6.1

7 years ago

0.6.0

7 years ago

0.5.9

7 years ago

0.5.8

7 years ago

0.5.7

8 years ago

0.5.6

8 years ago

0.5.5

8 years ago

0.5.4

8 years ago

0.5.3

8 years ago

0.5.2

8 years ago

0.5.1

8 years ago