CommunityToolkit.Aspire.Hosting.NodeJS.Extensions 9.6.1-beta.328

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.6.1-beta.328
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.NodeJS.Extensions -Version 9.6.1-beta.328
                    
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.6.1-beta.328" />
                    
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.6.1-beta.328" />
                    
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.6.1-beta.328
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.NodeJS.Extensions, 9.6.1-beta.328"
                    
#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.6.1-beta.328
                    
#: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.6.1-beta.328&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.NodeJS.Extensions&version=9.6.1-beta.328&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.7.1-beta.343 83 8/8/2025
9.7.1-beta.342 86 8/7/2025
9.7.1-beta.341 84 8/6/2025
9.7.1-beta.340 90 8/5/2025
9.7.1-beta.339 89 8/5/2025
9.7.0 170 8/1/2025
9.7.0-beta.337 71 8/1/2025
9.7.0-beta.336 80 8/1/2025
9.7.0-beta.335 75 8/1/2025
9.7.0-beta.333 88 7/30/2025
9.6.1-beta.332 83 7/30/2025
9.6.1-beta.331 83 7/30/2025
9.6.1-beta.330 85 7/30/2025
9.6.1-beta.329 84 7/30/2025
9.6.1-beta.328 85 7/29/2025
9.6.1-beta.327 85 7/28/2025
9.6.1-beta.326 84 7/28/2025
9.6.0 2,151 7/10/2025
9.6.0-beta.324 110 7/10/2025
9.5.1-beta.323 111 7/10/2025
9.5.1-beta.322 108 7/10/2025
9.5.1-beta.321 109 7/10/2025
9.5.1-beta.320 119 7/9/2025
9.5.1-beta.319 116 7/8/2025
9.5.1-beta.318 150 7/2/2025
9.5.1-beta.317 150 6/30/2025
9.5.1-beta.315 269 6/26/2025
9.5.1-beta.314 125 6/23/2025
9.5.1-beta.313 102 6/20/2025
9.5.1-beta.312 104 6/20/2025
9.5.1-beta.311 134 6/18/2025
9.5.1-beta.310 122 6/17/2025
9.5.1-beta.309 114 6/17/2025
9.5.1-beta.308 144 6/17/2025
9.5.1-beta.307 113 6/16/2025
9.5.1-beta.306 311 6/11/2025
9.5.1-beta.305 103 6/7/2025
9.5.1-beta.304 108 6/6/2025
9.5.1-beta.303 123 6/4/2025
9.5.1-beta.302 118 6/4/2025
9.5.1-beta.301 128 6/2/2025
9.5.1-beta.300 133 5/28/2025
9.5.0 13,964 5/27/2025
9.5.0-beta.299 131 5/27/2025
9.5.0-beta.298 136 5/26/2025
9.5.0-beta.297 84 5/24/2025
9.5.0-beta.296 82 5/24/2025
9.5.0-beta.295 44 5/24/2025
9.4.1-beta.291 157 5/19/2025
9.4.1-beta.289 160 5/16/2025
9.4.1-beta.288 201 5/16/2025
9.4.1-beta.287 193 5/16/2025
9.4.1-beta.286 194 5/16/2025
9.4.1-beta.285 254 5/14/2025
9.4.1-beta.284 208 5/13/2025
9.4.1-beta.283 227 5/12/2025
9.4.1-beta.282 148 5/7/2025
9.4.1-beta.280 154 5/2/2025
9.4.1-beta.279 120 5/2/2025
9.4.1-beta.277 336 4/23/2025
9.4.1-beta.276 157 4/23/2025
9.4.1-beta.275 144 4/23/2025
9.4.1-beta.274 143 4/23/2025
9.4.1-beta.273 142 4/23/2025
9.4.1-beta.272 128 4/23/2025
9.4.1-beta.271 138 4/23/2025
9.4.1-beta.270 143 4/20/2025
9.4.0 23,125 4/20/2025
9.4.0-beta.269 137 4/20/2025
9.4.0-beta.268 133 4/20/2025
9.3.1-beta.267 136 4/20/2025
9.3.1-beta.266 69 4/19/2025
9.3.1-beta.265 204 4/15/2025
9.3.1-beta.264 168 4/15/2025
9.3.1-beta.263 179 4/15/2025
9.3.1-beta.262 169 4/15/2025
9.3.1-beta.260 178 4/10/2025
9.3.1-beta.259 154 4/8/2025
9.3.1-beta.258 142 4/8/2025
9.3.1-beta.257 141 4/8/2025
9.3.1-beta.256 145 4/8/2025
9.3.1-beta.255 141 4/8/2025
9.3.1-beta.254 141 4/8/2025
9.3.1-beta.253 143 4/1/2025
9.3.1-beta.252 123 3/27/2025
9.3.1-beta.250 125 3/27/2025
9.3.1-beta.249 118 3/27/2025
9.3.1-beta.248 120 3/27/2025
9.3.1-beta.247 122 3/27/2025
9.3.1-beta.244 474 3/25/2025
9.3.1-beta.242 460 3/24/2025
9.3.1-beta.241 133 3/19/2025
9.3.0 10,005 3/19/2025
9.3.0-beta.239 136 3/19/2025
9.2.2-beta.237 127 3/19/2025
9.2.2-beta.236 97 3/14/2025
9.2.2-beta.230 140 3/13/2025
9.2.2-beta.229 126 3/13/2025
9.2.2-beta.228 155 3/11/2025
9.2.2-beta.227 152 3/11/2025
9.2.2-beta.226 139 3/11/2025
9.2.2-beta.225 144 3/11/2025
9.2.2-beta.224 145 3/11/2025
9.2.2-beta.223 137 3/10/2025
9.2.2-beta.222 144 3/10/2025
9.2.2-beta.220 147 3/9/2025
9.2.2-beta.218 132 3/9/2025
9.2.2-beta.217 184 3/7/2025
9.2.2-beta.216 181 3/7/2025
9.2.2-beta.215 182 3/7/2025
9.2.2-beta.214 185 3/5/2025
9.2.2-beta.213 177 3/5/2025
9.2.2-beta.212 180 3/5/2025
9.2.2-beta.211 178 3/4/2025
9.2.2-beta.210 178 3/4/2025
9.2.2-beta.208 80 3/3/2025
9.2.1 3,807 3/3/2025
9.2.1-beta.207 110 3/2/2025
9.2.1-beta.206 74 3/1/2025
9.2.1-beta.205 77 2/27/2025
9.2.1-beta.204 65 2/26/2025
9.2.1-beta.203 66 2/26/2025
9.2.0 2,164 2/26/2025
9.2.0-beta.202 70 2/26/2025
9.2.0-beta.201 72 2/26/2025
9.2.0-beta.199 81 2/26/2025
9.2.0-beta.198 63 2/26/2025
9.1.1-beta.197 73 2/25/2025
9.1.1-beta.196 84 2/25/2025
9.1.1-beta.195 81 2/25/2025
9.1.1-beta.194 73 2/25/2025
9.1.1-beta.193 76 2/25/2025
9.1.1-beta.192 75 2/24/2025
9.1.1-beta.191 77 2/24/2025
9.1.1-beta.190 75 2/19/2025
9.1.1-beta.189 72 2/19/2025
9.1.1-beta.188 76 2/19/2025
9.1.1-beta.187 91 2/19/2025
9.1.1-beta.183 85 2/18/2025
9.1.1-beta.182 80 2/18/2025
9.1.1-beta.181 89 2/18/2025
9.1.1-beta.180 77 2/17/2025
9.1.1-beta.178 80 2/17/2025
9.1.1-beta.177 79 2/12/2025
9.1.1-beta.176 82 2/11/2025
9.1.1-beta.175 72 2/11/2025
9.1.1-beta.173 90 2/10/2025
9.1.1-beta.169 108 2/6/2025
9.1.1-beta.168 68 2/5/2025
9.1.1-beta.166 78 2/5/2025
9.1.1-beta.165 69 2/5/2025
9.1.1-beta.164 85 2/3/2025
9.1.1-beta.162 78 2/3/2025
9.1.1-beta.155 81 1/30/2025
9.1.1-beta.154 66 1/30/2025
9.1.1-beta.153 81 1/30/2025
9.1.1-beta.152 68 1/29/2025
9.1.1-beta.150 80 1/29/2025
9.1.1-beta.148 87 1/26/2025
9.1.1-beta.147 70 1/26/2025
9.1.1-beta.146 77 1/23/2025
9.1.1-beta.145 69 1/22/2025
9.1.1-beta.144 73 1/22/2025
9.1.1-beta.142 60 1/22/2025
9.1.1-beta.140 74 1/22/2025
9.1.1-beta.139 74 1/21/2025
9.1.1-beta.138 66 1/20/2025
9.1.1-beta.137 62 1/17/2025
9.1.1-beta.136 58 1/15/2025
9.1.1-beta.135 41 1/15/2025
9.1.1-beta.134 42 1/15/2025
9.1.1-beta.128 105 1/9/2025
9.1.1-beta.127 59 1/9/2025
9.1.1-beta.126 63 1/9/2025
9.1.1-beta.125 54 1/9/2025
9.1.1-beta.124 59 1/9/2025
9.1.0 11,342 12/12/2024
9.1.0-beta.123 75 1/3/2025
9.1.0-beta.122 79 1/3/2025
9.1.0-beta.121 81 1/2/2025
9.1.0-beta.120 73 12/30/2024
9.1.0-beta.119 73 12/30/2024
9.1.0-beta.118 73 12/30/2024
9.1.0-beta.116 79 12/30/2024
9.1.0-beta.114 76 12/30/2024
9.1.0-beta.113 70 12/30/2024
9.1.0-beta.112 73 12/18/2024
9.1.0-beta.110 76 12/16/2024
9.1.0-beta.109 71 12/12/2024
9.0.1-beta.108 76 12/12/2024
9.0.1-beta.107 72 12/11/2024
9.0.1-beta.106 74 12/12/2024
9.0.1-beta.104 71 12/11/2024
9.0.1-beta.102 81 12/6/2024
9.0.1-beta.99 76 12/6/2024
9.0.1-beta.98 77 12/6/2024
9.0.1-beta.95 68 12/5/2024
9.0.1-beta.94 71 12/5/2024
9.0.1-beta.93 74 12/2/2024
9.0.1-beta.92 81 11/30/2024
9.0.1-beta.91 78 11/30/2024
9.0.1-beta.90 84 11/29/2024
9.0.1-beta.89 69 11/29/2024
9.0.1-beta.88 67 11/27/2024
9.0.1-beta.87 69 11/27/2024
9.0.1-beta.86 72 11/27/2024
9.0.1-beta.84 77 11/24/2024
9.0.1-beta.83 73 11/22/2024
9.0.1-beta.82 74 11/21/2024
9.0.1-beta.81 64 11/19/2024
9.0.1-beta.80 70 11/19/2024
9.0.1-beta.79 67 11/19/2024
9.0.1-beta.77 711 11/15/2024
9.0.0 5,537 11/15/2024
9.0.0-beta.76 79 11/14/2024
9.0.0-beta.75 70 11/14/2024
9.0.0-beta.74 66 11/14/2024
9.0.0-beta.73 69 11/14/2024
9.0.0-beta.72 70 11/14/2024
9.0.0-beta.71 68 11/13/2024
9.0.0-beta.70 78 11/13/2024
9.0.0-beta.69 83 11/13/2024
9.0.0-beta.68 65 11/13/2024
9.0.0-beta.67 80 11/13/2024
9.0.0-beta.66 75 11/13/2024
9.0.0-beta.63 79 11/12/2024
9.0.0-beta.54 78 10/31/2024
9.0.0-beta.53 68 10/29/2024
8.3.0 402 10/29/2024
8.3.0-beta.51 71 10/29/2024
8.3.0-beta.50 73 10/28/2024
8.3.0-beta.49 73 10/28/2024
8.3.0-beta.48 69 10/28/2024
8.3.0-beta.47 72 10/28/2024
8.3.0-beta.46 84 10/27/2024
8.3.0-beta.45 71 10/25/2024
8.3.0-beta.44 72 10/25/2024
8.3.0-beta.43 73 10/25/2024
8.3.0-beta.42 71 10/24/2024
8.2.1 249 10/23/2024
8.2.1-beta.40 63 10/23/2024
8.2.1-beta.39 71 10/23/2024
8.2.1-beta.38 74 10/23/2024
8.2.1-beta.37 64 10/23/2024
8.2.1-beta.36 72 10/23/2024
8.2.1-beta.35 73 10/23/2024
8.2.0-beta.34 76 10/23/2024
8.2.0-beta.33 69 10/23/2024
8.2.0-beta.32 73 10/22/2024
1.0.0-beta.60 86 11/11/2024
1.0.0-beta.58 66 11/4/2024
1.0.0-beta.57 74 11/1/2024
1.0.0-beta.56 63 11/1/2024
1.0.0-beta.55 68 11/1/2024