Skip to main content
Any Framework

Node.js function templates for the func CLI. Compatible with Microsoft.Azure.Functions.ExtensionBundle (minBundle:[4.0.0,)).

Published
Jun 12, 2026
4mo ago
Total Downloads
718
718

Install

dotnet add package Azure.Functions.Cli.Workloads.Templates.Node --version 1.0.1-preview.1

No framework information available.

README

Azure Functions CLI: Node templates workload

This package ships function-scaffold templates for Node.js Azure Functions projects (v2 template-engine schema, Node v4 programming model), consumed by the func CLI's func new command. It is a content workload: the package carries template files only, with no entry-point assembly and no runtime services. func new resolves the install directory by package id and reads the template payload directly.

The channel a workload was built from is encoded in the pkg version's prerelease label, and that channel maps 1:1 to an extension-bundle id:

Channel Workload pkg version Bundle id
stable 1.0.0 Microsoft.Azure.Functions.ExtensionBundle
preview 1.0.0-preview Microsoft.Azure.Functions.ExtensionBundle.Preview
experimental 1.0.0-experimental Microsoft.Azure.Functions.ExtensionBundle.Experimental

The bundle id is the value func new expects in the project's host.json extensionBundle.id at scaffold time. Channel selection at func new is implicit, derived from the project's host.json bundle id.

Bundle compatibility

This workload declares a minimum compatible extension-bundle version ([4.0.0,)). func new validates the project's resolved bundle version against this constraint and surfaces incompatibilities as a warning or error.

Install

func workload install [email protected]
# or by alias
func workload install [email protected]

Preview / experimental channels resolve via the matching prerelease label:

func workload install [email protected]
func workload install [email protected]

Multiple templates versions coexist via --force.

Links

Changes from Previous Version

No structural changes between v1.0.1-experimental.1 and v1.0.1-preview.1.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.