{"id":13683591,"url":"https://github.com/firebase/firebase-functions","last_synced_at":"2026-01-29T00:11:12.962Z","repository":{"id":37579828,"uuid":"68969780","full_name":"firebase/firebase-functions","owner":"firebase","description":"Firebase SDK for Cloud Functions","archived":false,"fork":false,"pushed_at":"2025-05-01T15:43:25.000Z","size":5305,"stargazers_count":1044,"open_issues_count":88,"forks_count":210,"subscribers_count":86,"default_branch":"master","last_synced_at":"2025-05-10T05:34:15.383Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://firebase.google.com/docs/functions/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firebase.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-09-22T23:13:54.000Z","updated_at":"2025-05-09T21:41:52.000Z","dependencies_parsed_at":"2023-11-28T19:26:18.146Z","dependency_job_id":"cad3faff-7380-4f21-af2c-c7d398fa7fcd","html_url":"https://github.com/firebase/firebase-functions","commit_stats":{"total_commits":950,"total_committers":90,"mean_commits":"10.555555555555555","dds":0.8621052631578947,"last_synced_commit":"cd88163f687a83d541c6a4391c3cf96b81960b2e"},"previous_names":[],"tags_count":130,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Ffirebase-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Ffirebase-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Ffirebase-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Ffirebase-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firebase","download_url":"https://codeload.github.com/firebase/firebase-functions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253700540,"owners_count":21949693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T13:02:16.855Z","updated_at":"2026-01-29T00:11:12.957Z","avatar_url":"https://github.com/firebase.png","language":"TypeScript","readme":"# Firebase SDK for Cloud Functions\n\nThe `firebase-functions` package provides an SDK for defining Cloud Functions for Firebase.\n\nCloud 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.\n\n## Learn more\n\nLearn more about the Firebase SDK for Cloud Functions in the [Firebase documentation](https://firebase.google.com/docs/functions/) or [check out our samples](https://github.com/firebase/functions-samples).\n\nHere are some resources to get help:\n\n- [Start with the quickstart](https://firebase.google.com/docs/functions/write-firebase-functions)\n- [Go through the guides](https://firebase.google.com/docs/functions/)\n- [Read the full API reference](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions)\n- [Browse some examples](https://github.com/firebase/functions-samples)\n\nIf the official documentation doesn't help, try asking through our [official support channels](https://firebase.google.com/support/)\n\n_Please avoid double posting across multiple channels!_\n\n## Usage\n\n```js\n// functions/index.js\nconst { onValueCreated } = require(\"firebase-functions/database\");\nconst logger = require(\"firebase-functions/logger\");\nconst notifyUsers = require(\"./notify-users\");\n\nexports.newPost = onValueCreated({ ref: \"/posts/{postId}\" }, (event) =\u003e {\n  logger.info(\"Received new post with ID:\", event.params.postId);\n  return notifyUsers(event.data.val());\n});\n```\n\n## Contributing\n\nTo contribute a change, [check out the contributing guide](.github/CONTRIBUTING.md).\n\n## License\n\n© Google, 2017. Licensed under [The MIT License](LICENSE).\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirebase%2Ffirebase-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirebase%2Ffirebase-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirebase%2Ffirebase-functions/lists"}