Skip to content

Azure/azure-functions-nodejs-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Functions Node.js Samples

Build Status

This repo is used to hold the samples for the "Triggers and bindings" docs. For example, this storage queue trigger doc. This repo currently supports programming model v4, for both JavaScript and TypeScript.

Repositories

These are the most important GitHub repositories that make up the Node.js experience on Azure Functions:

Contributing

  • Clone the repository locally and open the js or ts folder in VS Code
  • Run "Extensions: Show Recommended Extensions" from the command palette and install all extensions listed under "Workspace Recommendations"
  • Run npm install
  • If using TypeScript, run npm run build

The apps in this repository are not setup to be run directly. You should validate your code in a separate app.

Adding a new file

If you're adding a brand new file, you'll have to add a reference to it in the Microsoft docs repos. Here are the repos:

Here is an example of how to reference a whole file:

:::code language="typescript" source="~/azure-functions-nodejs-v4/ts/src/functions/serviceBusOutput1.ts" :::

Here is an example of how to reference part of a file:

:::code language="typescript" source="~/azure-functions-nodejs-v4/ts/src/functions/serviceBusOutput2.ts" id="displayInDocs" :::

NOTE: The relevant file must define the region to display with comments like // <displayInDocs> and // </displayInDocs>

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.