Js2IL.Runtime
0.9.8
See the version list below for details.
dotnet add package Js2IL.Runtime --version 0.9.8
NuGet\Install-Package Js2IL.Runtime -Version 0.9.8
<PackageReference Include="Js2IL.Runtime" Version="0.9.8" />
<PackageVersion Include="Js2IL.Runtime" Version="0.9.8" />
<PackageReference Include="Js2IL.Runtime" />
paket add Js2IL.Runtime --version 0.9.8
#r "nuget: Js2IL.Runtime, 0.9.8"
#:package Js2IL.Runtime@0.9.8
#addin nuget:?package=Js2IL.Runtime&version=0.9.8
#tool nuget:?package=Js2IL.Runtime&version=0.9.8
Js2IL.Runtime
Js2IL.Runtime is the runtime support package for executing JS2IL-compiled assemblies and hosting compiled modules from .NET.
It ships the JavaScriptRuntime.dll assembly plus the Js2IL.Runtime hosting APIs, including JsEngine.
Which package should I use?
Js2IL.Runtime- Use this when your application needs the runtime support library or the public hosting APIs used to load compiled modules.
Js2IL.SDK- Use this when your project should compile JavaScript during
dotnet build.
- Use this when your project should compile JavaScript during
Js2IL.Core- Use this when you need the compiler as a reusable .NET library.
js2il- Use this when you want the standalone CLI/global tool for manual compilation.
Official releases publish Js2IL.Runtime, js2il, Js2IL.Core, and Js2IL.SDK together at the same version. Keep the versions aligned when you mix them in one workflow.
Install
<ItemGroup>
<PackageReference Include="Js2IL.Runtime" Version="VERSION" />
</ItemGroup>
Package surface
- NuGet package:
Js2IL.Runtime - Public namespace:
Js2IL.Runtime - Runtime assembly copied next to compiled outputs:
JavaScriptRuntime.dll
Hosting compiled JavaScript from C#
If you want to load a compiled module from C#, start with the hosting docs:
The main entry point is Js2IL.Runtime.JsEngine, which can discover module ids and load typed or dynamic exports from compiled assemblies.
Links
- Hosting docs: https://github.com/tomacox74/js2il/blob/master/docs/hosting/Index.md
- Source, issues, docs: https://github.com/tomacox74/js2il
- License: Apache-2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Js2IL.Runtime:
| Package | Downloads |
|---|---|
|
Js2IL.Core
Reusable js2il compiler library for embedding JavaScript-to-.NET compilation in custom .NET tools and hosts. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.27 | 54 | 6/5/2026 |
| 0.9.26 | 122 | 5/29/2026 |
| 0.9.25 | 119 | 5/24/2026 |
| 0.9.24 | 142 | 5/22/2026 |
| 0.9.23 | 127 | 5/22/2026 |
| 0.9.22 | 120 | 5/22/2026 |
| 0.9.21 | 115 | 5/20/2026 |
| 0.9.20 | 128 | 5/17/2026 |
| 0.9.19 | 116 | 5/17/2026 |
| 0.9.18 | 115 | 5/16/2026 |
| 0.9.17 | 115 | 5/14/2026 |
| 0.9.16 | 124 | 5/12/2026 |
| 0.9.15 | 133 | 5/10/2026 |
| 0.9.14 | 120 | 5/8/2026 |
| 0.9.13 | 122 | 5/4/2026 |
| 0.9.12 | 113 | 5/4/2026 |
| 0.9.11 | 117 | 5/3/2026 |
| 0.9.10 | 116 | 4/30/2026 |
| 0.9.9 | 121 | 4/27/2026 |
| 0.9.8 | 126 | 4/27/2026 |