/azure-functions-nodejs-worker

The Node.js worker for the Azure Functions runtime - https://functions.azure.com

Primary LanguageTypeScriptMIT LicenseMIT

Build status

Getting Started

Azure Functions Language Extensibility Wiki

  • git clone https://github.com/Azure/azure-functions-nodejs-worker
  • cd azure-functions-nodejs-worker
  • npm install
  • npm test
  • npm run build
    • generate protobuf definitions & run typescript compiler
  • $env:WORKERS__NODE__PATH = <path-to-nodejsWorker.js>
    • configure the functions host to use the development version of the worker

Publishing

publish.ps1 creates the nuget package for the worker.

It builds and webpacks the generated node files into a bundle. We include several grpc native modules, for x86/x64 versions of windows, osx, linux

The nuget package can be deployed from the appveyor job at: https://ci.appveyor.com/project/appsvc/azure-functions-nodejs-worker

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.