Jroc.Runtime
0.11.2
dotnet add package Jroc.Runtime --version 0.11.2
NuGet\Install-Package Jroc.Runtime -Version 0.11.2
<PackageReference Include="Jroc.Runtime" Version="0.11.2" />
<PackageVersion Include="Jroc.Runtime" Version="0.11.2" />
<PackageReference Include="Jroc.Runtime" />
paket add Jroc.Runtime --version 0.11.2
#r "nuget: Jroc.Runtime, 0.11.2"
#:package Jroc.Runtime@0.11.2
#addin nuget:?package=Jroc.Runtime&version=0.11.2
#tool nuget:?package=Jroc.Runtime&version=0.11.2
Jroc.Runtime
Jroc.Runtime is the runtime support package for executing JROC-compiled assemblies and hosting compiled modules from .NET.
It ships the JavaScriptRuntime.dll assembly plus the Jroc.Runtime hosting APIs, including JsEngine.
Which package should I use?
Jroc.Runtime- Use this when your application needs the runtime support library or the public hosting APIs used to load compiled modules.
Jroc.SDK- Use this when your project should compile JavaScript during
dotnet build.
- Use this when your project should compile JavaScript during
Jroc.Core- Use this when you need the compiler as a reusable .NET library.
jroc- Use this when you want the standalone CLI/global tool for manual compilation.
Official releases publish Jroc.Runtime, jroc, Jroc.Core, and Jroc.SDK together at the same version. Keep the versions aligned when you mix them in one workflow.
Install
<ItemGroup>
<PackageReference Include="Jroc.Runtime" Version="VERSION" />
</ItemGroup>
Package surface
- NuGet package:
Jroc.Runtime - Public namespace:
Jroc.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 Jroc.Runtime.JsEngine, which can discover module ids and load typed or dynamic exports from compiled assemblies.
Links
- SDK docs: https://github.com/tomacox74/jroc/blob/master/docs/sdk/Index.md
- Source, issues, docs: https://github.com/tomacox74/jroc
- 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 Jroc.Runtime:
| Package | Downloads |
|---|---|
|
Jroc.Core
Reusable jroc 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.