All Projects → googlearchive → Cloud Functions Emulator

googlearchive / Cloud Functions Emulator

Licence: apache-2.0
A local emulator for deploying, running, and debugging Google Cloud Functions.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Cloud Functions Emulator

emulator-tools
Google Cloud BigTable and PubSub emulator tools to make development a breeze
Stars: ✭ 16 (-98.09%)
Mutual labels:  emulator, google-cloud
Assembler Simulator
Simple 8-bit Assembler Simulator with Angular.js
Stars: ✭ 792 (-5.26%)
Mutual labels:  emulator
Diyhue
Philips Hue emulator that is able to control multiple types of lights
Stars: ✭ 586 (-29.9%)
Mutual labels:  emulator
Nodejs Getting Started
A tutorial for creating a complete application using Node.js on Google Cloud Platform
Stars: ✭ 705 (-15.67%)
Mutual labels:  google-cloud
Cemu
Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features
Stars: ✭ 593 (-29.07%)
Mutual labels:  emulator
Sameboy
Game Boy and Game Boy Color emulator written in C
Stars: ✭ 732 (-12.44%)
Mutual labels:  emulator
Quadplay
The quadplay✜ fantasy console
Stars: ✭ 563 (-32.66%)
Mutual labels:  emulator
Giovanni
A Gameboy Emulator for the Apple Watch
Stars: ✭ 823 (-1.56%)
Mutual labels:  emulator
Functions Framework Nodejs
FaaS (Function as a service) framework for writing portable Node.js functions
Stars: ✭ 790 (-5.5%)
Mutual labels:  google-cloud
Skyline
Run Nintendo Switch homebrew & games on your Android device!
Stars: ✭ 670 (-19.86%)
Mutual labels:  emulator
Pce
Emulates Mac Plus, PC, & Atari ST in the browser using WebAssembly
Stars: ✭ 659 (-21.17%)
Mutual labels:  emulator
Lc3 Vm
Write your own virtual machine for the LC-3 computer!
Stars: ✭ 631 (-24.52%)
Mutual labels:  emulator
Wild Workouts Go Ddd Example
Complete application to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring of a Go project.
Stars: ✭ 756 (-9.57%)
Mutual labels:  google-cloud
Anti Emulator
Android Anti-Emulator
Stars: ✭ 587 (-29.78%)
Mutual labels:  emulator
Citra
A Nintendo 3DS Emulator
Stars: ✭ 7,009 (+738.4%)
Mutual labels:  emulator
Jsnes
A JavaScript NES emulator.
Stars: ✭ 5,354 (+540.43%)
Mutual labels:  emulator
Google Cloud Dotnet
Google Cloud Client Libraries for .NET
Stars: ✭ 651 (-22.13%)
Mutual labels:  google-cloud
Androidnativeemu
Allows you to partly emulate an Android native library.
Stars: ✭ 717 (-14.23%)
Mutual labels:  emulator
Server
Ultima Online Shard Emulator w/ Node.js
Stars: ✭ 6 (-99.28%)
Mutual labels:  emulator
Mesen
Mesen is a cross-platform (Windows & Linux) NES/Famicom emulator built in C++ and C#
Stars: ✭ 814 (-2.63%)
Mutual labels:  emulator

Status: Archived

status: inactive

This repository has been archived and is no longer maintained.

We recommend you use:

Please see Issue #327 for more details.


Google Inc. logo

Google Cloud Functions Emulator

NPM Tests Coverage

Disclaimer: This is not an official Google product.

Table of Contents

What is the Google Cloud Functions Emulator?

The 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.

The Emulator allows you to deploy, run, and debug your Cloud Functions on your local machine before deploying them to the production Google Cloud Functions service.

Note

The Emulator only supports Node v6.x.x. It does not support Node v8.x.x or Python.

How do I get started?

  1. Write a function:

     mkdir helloWorld
     cd helloWorld
     touch index.js
     echo 'exports.helloWorld = (req, res) => res.send("Hello, World!");' > index.js
    
  2. Install the Emulator:

    NPM:

     npm install -g @google-cloud/functions-emulator
    

    Yarn:

     yarn global add @google-cloud/functions-emulator
    

    Or read more in the detailed installation instructions.

  3. Start the Emulator:

     functions start
    
  4. Deploy your function:

     functions deploy helloWorld --trigger-http
    

    Get help deploying a function with functions deploy --help.

  5. Call your function:

     functions call helloWorld
    
  6. View the logs:

     functions logs read
    

Where is the documentation?

For a quick reference, the Emulator CLI is self-documenting. Run the following to get help with the CLI:

functions --help

For everything else see the How-To Guides.

Contributing

To give feedback, report a bug, or request a feature, please open an issue.

To contribute a change, check out the contributing guide.

License

Copyright 2017, Google, Inc.

Licensed under the Apache License, Version 2.0

See the full license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].