CommunityToolkit.Aspire.Hosting.NodeJS.Extensions 9.7.1-beta.343

Prefix Reserved
This is a prerelease version of CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.NodeJS.Extensions --version 9.7.1-beta.343
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.NodeJS.Extensions -Version 9.7.1-beta.343
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CommunityToolkit.Aspire.Hosting.NodeJS.Extensions" Version="9.7.1-beta.343" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.NodeJS.Extensions" Version="9.7.1-beta.343" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Hosting.NodeJS.Extensions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CommunityToolkit.Aspire.Hosting.NodeJS.Extensions --version 9.7.1-beta.343
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.NodeJS.Extensions, 9.7.1-beta.343"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CommunityToolkit.Aspire.Hosting.NodeJS.Extensions@9.7.1-beta.343
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CommunityToolkit.Aspire.Hosting.NodeJS.Extensions&version=9.7.1-beta.343&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.NodeJS.Extensions&version=9.7.1-beta.343&prerelease
                    
Install as a Cake Tool

CommunityToolkit.Aspire.Hosting.NodeJS.Extensions library

This integration contains extensions for the Node.js hosting package for .NET Aspire, including support for alternative package managers (yarn and pnpm), as well as developer workflow improvements.

Getting Started

Install the package

In your AppHost project, install the package using the following command:

dotnet add package CommunityToolkit.Aspire.Hosting.NodeJS.Extensions

Example usage

Then, in the Program.cs file of AppHost, define a Node.js resource, then call AddYarnApp or AddPnpmApp:

builder.AddYarnApp("yarn-demo")
    .WithExternalHttpEndpoints();

builder.AddPnpmApp("pnpm-demo")
    .WithExternalHttpEndpoints();

Package installation with custom flags

You can pass additional flags to package managers during installation:

// npm with legacy peer deps support
builder.AddNpmApp("npm-app", "./path/to/app")
    .WithNpmPackageInstallation(useCI: false, args: ["--legacy-peer-deps"])
    .WithExternalHttpEndpoints();

// yarn with frozen lockfile
builder.AddYarnApp("yarn-app", "./path/to/app")  
    .WithYarnPackageInstallation(args: ["--frozen-lockfile", "--verbose"])
    .WithExternalHttpEndpoints();

// pnpm with frozen lockfile
builder.AddPnpmApp("pnpm-app", "./path/to/app")
    .WithPnpmPackageInstallation(args: ["--frozen-lockfile"])
    .WithExternalHttpEndpoints();

Additional Information

https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-nodejs-extensions

Feedback & contributing

https://github.com/CommunityToolkit/Aspire

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on CommunityToolkit.Aspire.Hosting.NodeJS.Extensions:

Repository Stars
davidfowl/aspire-ai-chat-demo
Aspire AI Chat is a full-stack chat sample that combines modern technologies to deliver a ChatGPT-like experience.
Version Downloads Last Updated
9.8.0-beta.364 0 9/1/2025
9.7.2 164 8/29/2025
9.7.2-beta.362 130 8/29/2025
9.7.2-beta.361 134 8/29/2025
9.7.2-beta.360 135 8/29/2025
9.7.2-beta.359 144 8/28/2025
9.7.2-beta.358 146 8/28/2025
9.7.2-beta.357 150 8/28/2025
9.7.1 530 8/27/2025
9.7.1-beta.355 158 8/27/2025
9.7.1-beta.354 151 8/27/2025
9.7.1-beta.353 153 8/27/2025
9.7.1-beta.352 153 8/27/2025
9.7.1-beta.351 153 8/27/2025
9.7.1-beta.348 325 8/14/2025
9.7.1-beta.344 120 8/10/2025
9.7.1-beta.343 206 8/8/2025
9.7.1-beta.342 201 8/7/2025
9.7.1-beta.341 194 8/6/2025
9.7.1-beta.340 193 8/5/2025
9.7.1-beta.339 179 8/5/2025
9.7.0 7,900 8/1/2025
9.7.0-beta.337 79 8/1/2025
9.7.0-beta.336 93 8/1/2025
9.7.0-beta.335 83 8/1/2025
9.7.0-beta.333 98 7/30/2025
9.6.1-beta.332 91 7/30/2025
9.6.1-beta.331 91 7/30/2025
9.6.1-beta.330 93 7/30/2025
9.6.1-beta.329 92 7/30/2025
9.6.1-beta.328 93 7/29/2025
9.6.1-beta.327 93 7/28/2025
9.6.1-beta.326 91 7/28/2025
9.6.0 7,160 7/10/2025
9.6.0-beta.324 117 7/10/2025
9.5.1-beta.323 118 7/10/2025
9.5.1-beta.322 114 7/10/2025
9.5.1-beta.321 118 7/10/2025
9.5.1-beta.320 125 7/9/2025
9.5.1-beta.319 122 7/8/2025
9.5.1-beta.318 158 7/2/2025
9.5.1-beta.317 157 6/30/2025
9.5.1-beta.315 323 6/26/2025
9.5.1-beta.314 134 6/23/2025
9.5.1-beta.313 108 6/20/2025
9.5.1-beta.312 112 6/20/2025
9.5.1-beta.311 153 6/18/2025
9.5.1-beta.310 132 6/17/2025
9.5.1-beta.309 122 6/17/2025
9.5.1-beta.308 152 6/17/2025
9.5.1-beta.307 119 6/16/2025
9.5.1-beta.306 361 6/11/2025
9.5.1-beta.305 109 6/7/2025
9.5.1-beta.304 116 6/6/2025
9.5.1-beta.303 129 6/4/2025
9.5.1-beta.302 125 6/4/2025
9.5.1-beta.301 136 6/2/2025
9.5.1-beta.300 140 5/28/2025
9.5.0 17,001 5/27/2025
9.5.0-beta.299 138 5/27/2025
9.5.0-beta.298 143 5/26/2025
9.5.0-beta.297 91 5/24/2025
9.5.0-beta.296 90 5/24/2025
9.5.0-beta.295 51 5/24/2025
9.4.1-beta.291 162 5/19/2025
9.4.1-beta.289 166 5/16/2025
9.4.1-beta.288 209 5/16/2025
9.4.1-beta.287 200 5/16/2025
9.4.1-beta.286 200 5/16/2025
9.4.1-beta.285 262 5/14/2025
9.4.1-beta.284 215 5/13/2025
9.4.1-beta.283 232 5/12/2025
9.4.1-beta.282 156 5/7/2025
9.4.1-beta.280 162 5/2/2025
9.4.1-beta.279 126 5/2/2025
9.4.1-beta.277 357 4/23/2025
9.4.1-beta.276 164 4/23/2025
9.4.1-beta.275 149 4/23/2025
9.4.1-beta.274 149 4/23/2025
9.4.1-beta.273 148 4/23/2025
9.4.1-beta.272 135 4/23/2025
9.4.1-beta.271 145 4/23/2025
9.4.1-beta.270 149 4/20/2025
9.4.0 26,124 4/20/2025
9.4.0-beta.269 143 4/20/2025
9.4.0-beta.268 139 4/20/2025
9.3.1-beta.267 143 4/20/2025
9.3.1-beta.266 76 4/19/2025
9.3.1-beta.265 211 4/15/2025
9.3.1-beta.264 173 4/15/2025
9.3.1-beta.263 185 4/15/2025
9.3.1-beta.262 174 4/15/2025
9.3.1-beta.260 187 4/10/2025
9.3.1-beta.259 161 4/8/2025
9.3.1-beta.258 148 4/8/2025
9.3.1-beta.257 149 4/8/2025
9.3.1-beta.256 152 4/8/2025
9.3.1-beta.255 148 4/8/2025
9.3.1-beta.254 148 4/8/2025
9.3.1-beta.253 149 4/1/2025
9.3.1-beta.252 129 3/27/2025
9.3.1-beta.250 130 3/27/2025
9.3.1-beta.249 123 3/27/2025
9.3.1-beta.248 126 3/27/2025
9.3.1-beta.247 129 3/27/2025
9.3.1-beta.244 480 3/25/2025
9.3.1-beta.242 468 3/24/2025
9.3.1-beta.241 138 3/19/2025
9.3.0 12,129 3/19/2025
9.3.0-beta.239 144 3/19/2025
9.2.2-beta.237 135 3/19/2025
9.2.2-beta.236 104 3/14/2025
9.2.2-beta.230 145 3/13/2025
9.2.2-beta.229 132 3/13/2025
9.2.2-beta.228 166 3/11/2025
9.2.2-beta.227 158 3/11/2025
9.2.2-beta.226 144 3/11/2025
9.2.2-beta.225 152 3/11/2025
9.2.2-beta.224 151 3/11/2025
9.2.2-beta.223 143 3/10/2025
9.2.2-beta.222 151 3/10/2025
9.2.2-beta.220 153 3/9/2025
9.2.2-beta.218 140 3/9/2025
9.2.2-beta.217 191 3/7/2025
9.2.2-beta.216 187 3/7/2025
9.2.2-beta.215 188 3/7/2025
9.2.2-beta.214 190 3/5/2025
9.2.2-beta.213 182 3/5/2025
9.2.2-beta.212 185 3/5/2025
9.2.2-beta.211 183 3/4/2025
9.2.2-beta.210 185 3/4/2025
9.2.2-beta.208 85 3/3/2025
9.2.1 3,862 3/3/2025
9.2.1-beta.207 115 3/2/2025
9.2.1-beta.206 79 3/1/2025
9.2.1-beta.205 84 2/27/2025
9.2.1-beta.204 71 2/26/2025
9.2.1-beta.203 72 2/26/2025
9.2.0 2,180 2/26/2025
9.2.0-beta.202 76 2/26/2025
9.2.0-beta.201 79 2/26/2025
9.2.0-beta.199 89 2/26/2025
9.2.0-beta.198 69 2/26/2025
9.1.1-beta.197 79 2/25/2025
9.1.1-beta.196 89 2/25/2025
9.1.1-beta.195 88 2/25/2025
9.1.1-beta.194 79 2/25/2025
9.1.1-beta.193 81 2/25/2025
9.1.1-beta.192 82 2/24/2025
9.1.1-beta.191 85 2/24/2025
9.1.1-beta.190 81 2/19/2025
9.1.1-beta.189 77 2/19/2025
9.1.1-beta.188 84 2/19/2025
9.1.1-beta.187 98 2/19/2025
9.1.1-beta.183 93 2/18/2025
9.1.1-beta.182 87 2/18/2025
9.1.1-beta.181 96 2/18/2025
9.1.1-beta.180 82 2/17/2025
9.1.1-beta.178 86 2/17/2025
9.1.1-beta.177 85 2/12/2025
9.1.1-beta.176 91 2/11/2025
9.1.1-beta.175 77 2/11/2025
9.1.1-beta.173 97 2/10/2025
9.1.1-beta.169 113 2/6/2025
9.1.1-beta.168 75 2/5/2025
9.1.1-beta.166 91 2/5/2025
9.1.1-beta.165 74 2/5/2025
9.1.1-beta.164 90 2/3/2025
9.1.1-beta.162 83 2/3/2025
9.1.1-beta.155 86 1/30/2025
9.1.1-beta.154 73 1/30/2025
9.1.1-beta.153 86 1/30/2025
9.1.1-beta.152 74 1/29/2025
9.1.1-beta.150 86 1/29/2025
9.1.1-beta.148 92 1/26/2025
9.1.1-beta.147 76 1/26/2025
9.1.1-beta.146 83 1/23/2025
9.1.1-beta.145 76 1/22/2025
9.1.1-beta.144 78 1/22/2025
9.1.1-beta.142 66 1/22/2025
9.1.1-beta.140 82 1/22/2025
9.1.1-beta.139 81 1/21/2025
9.1.1-beta.138 75 1/20/2025
9.1.1-beta.137 71 1/17/2025
9.1.1-beta.136 63 1/15/2025
9.1.1-beta.135 48 1/15/2025
9.1.1-beta.134 49 1/15/2025
9.1.1-beta.128 113 1/9/2025
9.1.1-beta.127 65 1/9/2025
9.1.1-beta.126 70 1/9/2025
9.1.1-beta.125 62 1/9/2025
9.1.1-beta.124 67 1/9/2025
9.1.0 11,783 12/12/2024
9.1.0-beta.123 83 1/3/2025
9.1.0-beta.122 85 1/3/2025
9.1.0-beta.121 87 1/2/2025
9.1.0-beta.120 79 12/30/2024
9.1.0-beta.119 79 12/30/2024
9.1.0-beta.118 82 12/30/2024
9.1.0-beta.116 86 12/30/2024
9.1.0-beta.114 83 12/30/2024
9.1.0-beta.113 79 12/30/2024
9.1.0-beta.112 78 12/18/2024
9.1.0-beta.110 83 12/16/2024
9.1.0-beta.109 77 12/12/2024
9.0.1-beta.108 82 12/12/2024
9.0.1-beta.107 77 12/11/2024
9.0.1-beta.106 82 12/12/2024
9.0.1-beta.104 77 12/11/2024
9.0.1-beta.102 87 12/6/2024
9.0.1-beta.99 81 12/6/2024
9.0.1-beta.98 83 12/6/2024
9.0.1-beta.95 74 12/5/2024
9.0.1-beta.94 78 12/5/2024
9.0.1-beta.93 81 12/2/2024
9.0.1-beta.92 88 11/30/2024
9.0.1-beta.91 85 11/30/2024
9.0.1-beta.90 89 11/29/2024
9.0.1-beta.89 75 11/29/2024
9.0.1-beta.88 73 11/27/2024
9.0.1-beta.87 75 11/27/2024
9.0.1-beta.86 80 11/27/2024
9.0.1-beta.84 84 11/24/2024
9.0.1-beta.83 80 11/22/2024
9.0.1-beta.82 80 11/21/2024
9.0.1-beta.81 72 11/19/2024
9.0.1-beta.80 75 11/19/2024
9.0.1-beta.79 74 11/19/2024
9.0.1-beta.77 733 11/15/2024
9.0.0 6,011 11/15/2024
9.0.0-beta.76 84 11/14/2024
9.0.0-beta.75 76 11/14/2024
9.0.0-beta.74 73 11/14/2024
9.0.0-beta.73 77 11/14/2024
9.0.0-beta.72 76 11/14/2024
9.0.0-beta.71 76 11/13/2024
9.0.0-beta.70 83 11/13/2024
9.0.0-beta.69 90 11/13/2024
9.0.0-beta.68 70 11/13/2024
9.0.0-beta.67 86 11/13/2024
9.0.0-beta.66 81 11/13/2024
9.0.0-beta.63 86 11/12/2024
9.0.0-beta.54 86 10/31/2024
9.0.0-beta.53 76 10/29/2024
8.3.0 416 10/29/2024
8.3.0-beta.51 77 10/29/2024
8.3.0-beta.50 81 10/28/2024
8.3.0-beta.49 79 10/28/2024
8.3.0-beta.48 76 10/28/2024
8.3.0-beta.47 80 10/28/2024
8.3.0-beta.46 91 10/27/2024
8.3.0-beta.45 77 10/25/2024
8.3.0-beta.44 109 10/25/2024
8.3.0-beta.43 79 10/25/2024
8.3.0-beta.42 80 10/24/2024
8.2.1 270 10/23/2024
8.2.1-beta.40 69 10/23/2024
8.2.1-beta.39 77 10/23/2024
8.2.1-beta.38 81 10/23/2024
8.2.1-beta.37 70 10/23/2024
8.2.1-beta.36 78 10/23/2024
8.2.1-beta.35 85 10/23/2024
8.2.0-beta.34 82 10/23/2024
8.2.0-beta.33 77 10/23/2024
8.2.0-beta.32 80 10/22/2024
1.0.0-beta.60 91 11/11/2024
1.0.0-beta.58 83 11/4/2024
1.0.0-beta.57 80 11/1/2024
1.0.0-beta.56 70 11/1/2024
1.0.0-beta.55 75 11/1/2024