{"id":26218752,"url":"https://github.com/GoogleCloudPlatform/cloud-functions-emulator","last_synced_at":"2025-03-12T14:01:15.084Z","repository":{"id":57113896,"uuid":"71809982","full_name":"googlearchive/cloud-functions-emulator","owner":"googlearchive","description":"A local emulator for deploying, running, and debugging Google Cloud Functions.","archived":true,"fork":false,"pushed_at":"2019-05-15T16:32:16.000Z","size":2740,"stargazers_count":827,"open_issues_count":95,"forks_count":115,"subscribers_count":39,"default_branch":"master","last_synced_at":"2024-05-19T13:09:00.093Z","etag":null,"topics":["cloud-functions-emulator","emulator","google-cloud","google-cloud-functions"],"latest_commit_sha":null,"homepage":"https://github.com/GoogleCloudPlatform/cloud-functions-emulator/wiki","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googlearchive.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-24T16:42:35.000Z","updated_at":"2024-05-06T05:01:49.000Z","dependencies_parsed_at":"2022-08-22T09:10:24.007Z","dependency_job_id":null,"html_url":"https://github.com/googlearchive/cloud-functions-emulator","commit_stats":null,"previous_names":["googlecloudplatform/cloud-functions-emulator"],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Fcloud-functions-emulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Fcloud-functions-emulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Fcloud-functions-emulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Fcloud-functions-emulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googlearchive","download_url":"https://codeload.github.com/googlearchive/cloud-functions-emulator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243230091,"owners_count":20257642,"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":["cloud-functions-emulator","emulator","google-cloud","google-cloud-functions"],"created_at":"2025-03-12T14:00:46.683Z","updated_at":"2025-03-12T14:01:15.029Z","avatar_url":"https://github.com/googlearchive.png","language":"JavaScript","readme":"# Status: Archived\n\n![status: inactive](https://img.shields.io/badge/status-inactive-red.svg)\n\nThis repository has been archived and is no longer maintained.\n\nWe recommend you use:\n- **Google Cloud Functions:** The [functions framework](https://github.com/GoogleCloudPlatform/functions-framework-nodejs) which is the same library that powers functions for Node 10+.\n- **Google Cloud Functions for Firebase:** The [local emulator](https://firebase.google.com/docs/functions/local-emulator) with [`firebase-tools`](https://github.com/firebase/firebase-tools).\n\nPlease see [Issue #327](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/327) for more details.\n\n---\n\n\u003cimg src=\"https://avatars2.githubusercontent.com/u/2810941?v=3\u0026s=96\" alt=\"Google Inc. logo\" title=\"Google\" align=\"right\" height=\"96\" width=\"96\"/\u003e\n\n# Google Cloud Functions Emulator\n\n[![NPM][1]][2] [![Tests][3]][4] [![Coverage][5]][6]\n\n[1]: https://img.shields.io/npm/v/@google-cloud/functions-emulator.svg?style=flat\n[2]: https://www.npmjs.org/package/@google-cloud/functions-emulator\n[3]: https://img.shields.io/circleci/project/GoogleCloudPlatform/cloud-functions-emulator.svg\n[4]: https://circleci.com/gh/GoogleCloudPlatform/cloud-functions-emulator\n[5]: https://img.shields.io/codecov/c/github/GoogleCloudPlatform/cloud-functions-emulator/master.svg\n[6]: https://codecov.io/github/GoogleCloudPlatform/cloud-functions-emulator\n\n_Disclaimer: This is not an official Google product._\n\n**Table of Contents**\n\n* [What is the Google Cloud Functions Emulator?](#what-is-the-google-cloud-functions-emulator)\n* [How do I get started?](#how-do-i-get-started)\n* [Where is the documentation?](#where-is-the-documentation)\n  * CLI Docs: `functions --help`\n  * [How-To Guides](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/wiki/How-To-Guides)\n* [Contributing](#contributing)\n* [License](#license)\n\n## What is the Google Cloud Functions Emulator?\n\nThe **Google Cloud Functions Emulator** is a Node.js application that implements the Google Cloud Functions API, and includes a CLI with which you can manage the application.\n\nThe Emulator allows you to [**deploy**](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/wiki/Deploying-functions), [**run**](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/wiki/Calling-functions), and [**debug**](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/wiki/Debugging-functions) your Cloud Functions on your local machine before deploying them to the production Google Cloud Functions service.\n\n### Note\nThe Emulator only supports Node `v6.x.x`. It does *not* support Node `v8.x.x` or Python.\n\n## How do I get started?\n\n1. Write a function:\n\n        mkdir helloWorld\n        cd helloWorld\n        touch index.js\n        echo 'exports.helloWorld = (req, res) =\u003e res.send(\"Hello, World!\");' \u003e index.js\n\n1. Install the Emulator:\n\n    NPM:\n\n        npm install -g @google-cloud/functions-emulator\n\n    Yarn:\n\n        yarn global add @google-cloud/functions-emulator\n\n    Or read more in the detailed [installation instructions](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/wiki/Installation).\n\n1. Start the Emulator:\n\n        functions start\n\n1. Deploy your function:\n\n        functions deploy helloWorld --trigger-http\n\n    Get help deploying a function with `functions deploy --help`.\n\n1. Call your function:\n\n        functions call helloWorld\n\n1. View the logs:\n\n        functions logs read\n\n## Where is the documentation?\n\nFor a quick reference, the Emulator CLI is self-documenting. Run the following to get help with the CLI:\n\n    functions --help\n\nFor everything else see the [How-To Guides](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/wiki/How-To-Guides).\n\n## Contributing\n\nTo give feedback, report a bug, or request a feature, please [open an issue](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues).\n\nTo contribute a change, [check out the contributing guide](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/blob/master/.github/CONTRIBUTING.md).\n\n## License\n\nCopyright 2017, Google, Inc.\n\nLicensed under the Apache License, Version 2.0\n\nSee the [full license](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/blob/master/LICENSE).\n","funding_links":[],"categories":["Functions emulator"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoogleCloudPlatform%2Fcloud-functions-emulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGoogleCloudPlatform%2Fcloud-functions-emulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoogleCloudPlatform%2Fcloud-functions-emulator/lists"}