DenoHost.Core 2.4.1-alpha.2

This is a prerelease version of DenoHost.Core.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package DenoHost.Core --version 2.4.1-alpha.2
                    
NuGet\Install-Package DenoHost.Core -Version 2.4.1-alpha.2
                    
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="DenoHost.Core" Version="2.4.1-alpha.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DenoHost.Core" Version="2.4.1-alpha.2" />
                    
Directory.Packages.props
<PackageReference Include="DenoHost.Core" />
                    
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 DenoHost.Core --version 2.4.1-alpha.2
                    
#r "nuget: DenoHost.Core, 2.4.1-alpha.2"
                    
#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 DenoHost.Core@2.4.1-alpha.2
                    
#: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=DenoHost.Core&version=2.4.1-alpha.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DenoHost.Core&version=2.4.1-alpha.2&prerelease
                    
Install as a Cake Tool

DenoHost

Build NuGet License: MIT

๐Ÿฆ• Use Deno from within your .NET applications โ€“ cross-platform, cleanly packaged, and NuGet-ready.


๐Ÿ’ก About

DenoHost allows you to seamlessly run Deno scripts or inline JavaScript/TypeScript code within your .NET applications.
It bundles platform-specific Deno executables as separate NuGet packages and provides a simple, consistent API for execution.


โœจ Features

  • ๐Ÿงฉ Modular runtime packages (per RID)
  • ๐Ÿ› ๏ธ Clean .NET API with async execution
  • ๐Ÿงช Testable with xUnit
  • ๐Ÿ“ฆ Packaged for NuGet (multi-target)
  • ๐Ÿง Linux, ๐ŸชŸ Windows, ๐ŸŽ macOS support

๐Ÿ“ฆ NuGet Packages

Package Description Platforms
DenoHost.Core Core execution logic (API) all
DenoHost.Runtime.win-x64 Bundled Deno for Windows win-x64
DenoHost.Runtime.linux-x64 Deno for Linux linux-x64
DenoHost.Runtime.linux-arm64 Deno for ARM Linux linux-arm64
DenoHost.Runtime.osx-x64 Deno for macOS Intel osx-x64
DenoHost.Runtime.osx-arm64 Deno for macOS Apple Silicon osx-arm64

๐Ÿš€ Usage Example

using DenoHost;

string cwd = Path.Combine(Directory.GetCurrentDirectory(), SCRIPTS_PATH);
string command = "run";
string[] args = ["app.ts"];

await Deno.Execute(cwd, command, args);

๐Ÿ› ๏ธ Requirements

  • .NET 9.0+
  • Deno version is bundled per RID via GitHub Releases
  • No need to install Deno globally

๐Ÿ“„ License

MIT License ยฉ Thomas Huber

Product Compatible and additional computed target framework versions.
.NET 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

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.4.5-alpha.13 44 8/23/2025
2.4.4-alpha.11 121 8/14/2025
2.4.3-alpha.10 115 8/13/2025
2.4.3-alpha.9 29 8/2/2025
2.4.3-alpha.8 26 8/2/2025
2.4.3-alpha.7 92 7/31/2025
2.4.2-alpha.6 197 7/26/2025
2.4.2-alpha.5 207 7/26/2025
2.4.2-alpha.4 114 7/16/2025
2.4.1-alpha.3 82 7/13/2025
2.4.1-alpha.2 76 7/13/2025
2.4.1-alpha.1 84 7/13/2025