Broiler.JSeal.BroilerJs 0.1.0-preview.7

This is a prerelease version of Broiler.JSeal.BroilerJs.
dotnet add package Broiler.JSeal.BroilerJs --version 0.1.0-preview.7
                    
NuGet\Install-Package Broiler.JSeal.BroilerJs -Version 0.1.0-preview.7
                    
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="Broiler.JSeal.BroilerJs" Version="0.1.0-preview.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Broiler.JSeal.BroilerJs" Version="0.1.0-preview.7" />
                    
Directory.Packages.props
<PackageReference Include="Broiler.JSeal.BroilerJs" />
                    
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 Broiler.JSeal.BroilerJs --version 0.1.0-preview.7
                    
#r "nuget: Broiler.JSeal.BroilerJs, 0.1.0-preview.7"
                    
#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 Broiler.JSeal.BroilerJs@0.1.0-preview.7
                    
#: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=Broiler.JSeal.BroilerJs&version=0.1.0-preview.7&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Broiler.JSeal.BroilerJs&version=0.1.0-preview.7&prerelease
                    
Install as a Cake Tool

Broiler.JSeal

JSEAL — the JavaScript Engine Abstraction Layer of the Broiler platform. It gives HTML/DOM hosts engine-neutral contracts to bind against: an engine provider implements them over a specific JavaScript engine, and which provider serves a realm is chosen at run time rather than at compile time.

Preview. These packages are an early preview. The public API can change between previews, and no human review has taken place yet. Neither engine is a standalone sandbox: configure the realm's capabilities and bounds before running untrusted script.

Packages

All packages are versioned in lockstep and target net10.0.

Package What it is
Broiler.JSeal The contracts: IJsRealm, JsValue, JsCall, JsCapabilities and JsEngineRegistry. It references no engine and no other package.
Broiler.JSeal.BroilerJs The provider over Broiler.JS (Broiler.JavaScript.*), registered as broiler-js.
Broiler.JSeal.Vm The provider over the Broiler.VM JavaScript profile, registered as broiler-vm.

A host references Broiler.JSeal for the contracts, plus the provider or providers it wants to offer. Both providers can be loaded in one process.

Getting started

dotnet add package Broiler.JSeal.BroilerJs --prerelease
using Broiler.JSeal;
using Broiler.JSeal.BroilerJs;

BroilerJsEngineProvider.Register(); // or VmEngineProvider.Register() from Broiler.JSeal.Vm

using var realm = JsEngineRegistry.Find("broiler-js")!.CreateRealm(JsRealmOptions.Default);
var answer = realm.EvaluateHostScript("6 * 7", "example:answer");
Console.WriteLine(answer.AsNumber); // 42

What a realm can do is declared by realm.Capabilities; a host checks a capability before relying on the member it guards.

Licensed under Apache-2.0.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Broiler.JSeal.BroilerJs:

Package Downloads
Broiler.HtmlBridge.Scripting

JavaScript execution engine integration for HtmlBridge.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.7 0 10/11/2026
0.1.0-preview.6 130 10/9/2026
0.1.0-preview.5 619 10/6/2026
0.1.0-preview.4 155 10/6/2026
0.1.0-preview.3 620 9/24/2026
0.1.0-preview.2 184 9/23/2026