# Firebase SDK for Cloud Functions

Firebase SDK for Cloud Functions

Repository: https://github.com/firebase/firebase-functions
Canonical: https://ross.abutalabs.com/products/firebase-sdk-for-cloud-functions
Homepage: https://firebase.google.com/docs/functions/
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-31T16:40:24+00:00
Link (homepage): https://firebase.google.com/docs/functions/

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 95, longevity 100
- inputs: {"age_days": 3632, "days_push": 2, "days_rel": 36, "gap_med": 14.0, "n_releases_24m": 27}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1066, forks 232 (observed 2026-09-01T02:14:01.424590+00:00)

## What it is
Cloud Functions for Firebase is a serverless framework that runs JavaScript, TypeScript, Python, and (experimentally) Dart backend code in response to events like HTTPS requests, Firestore/Realtime Database changes, Auth triggers, and scheduled jobs. The associated repositories provide the functions SDK and a large library of quickstart and sample apps demonstrating each trigger type.

## Use cases
- run backend code in response to firestore events
- create https api endpoints without managing servers
- trigger functions on firebase auth user signup
- process cloud storage file uploads automatically
- schedule recurring jobs with cloud scheduler
- build callable functions for flutter apps in dart
- stream responses from callable functions to clients

## When to choose
- you already use Firebase and want event-driven backend logic integrated with its services
- you want zero-maintenance autoscaling functions on Google Cloud infrastructure
- you want official samples and quickstarts for every trigger type in Node, Python, or Dart

## When to avoid
- you need long-running or compute-heavy workloads unsuited to function timeouts
- you want to avoid the Blaze pay-as-you-go billing plan required for deployment
- you need a self-hosted or cloud-provider-agnostic serverless solution

## Facets
- artifact type: framework
- maturity: active
- function: serverless, web-framework, api-framework, webhook, sdk, workflow-automation
- domain: cloud-computing, backend, web-development, apis, developer-tools
- platform: python, cloud, serverless, cross-platform
- tags: firebase, google-cloud, cloud-functions, faas, event-driven, samples, quickstarts, nodejs

## Member repositories
- firebase/firebase-functions (main) score 98
- firebase/functions-samples (examples) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:01.424590+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:14:16.048291+00:00, confidence not recorded.
  - readme: https://github.com/firebase/firebase-functions (fetched 2026-09-01T02:14:01.424590+00:00, sha 41382117b1a1)
  - homepage: https://firebase.google.com/docs/functions/ (fetched 2026-08-29T08:12:37.381934+00:00, sha 0c320e04955f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
