SuperRender.EcmaScript.Compiler 0.0.1-beta.2

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

SuperRender EcmaScript Engine

A pure C# ECMAScript 2025 engine for .NET, built on DLR expression trees.

Features

  • Full ES2025 coverage — classes, generators, async/await, destructuring, modules, BigInt, Temporal, and more
  • Zero external dependencies — runs on any .NET 10+ platform
  • Sandboxed .NET interop — mount specific types into JS via RegisterType<T>()
  • DLR-compiled — JS source is compiled to .NET expression trees for efficient execution

Quick Start

using SuperRender.EcmaScript.Engine;

var engine = new JsEngine();

// Execute JavaScript
engine.Execute("const greeting = 'Hello from JS!'");

// Get values back
var result = engine.Execute("1 + 2");
Console.WriteLine(result); // 3

// .NET interop
engine.SetValue("log", new Action<string>(Console.WriteLine));
engine.Execute("log('Called from JavaScript!')");

Packages

Package Description
SuperRender.EcmaScript.Engine Public API — start here
SuperRender.EcmaScript.Compiler Lexer, parser, AST, DLR compiler
SuperRender.EcmaScript.Runtime JsValue types, environments, builtins

License

MIT

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 SuperRender.EcmaScript.Compiler:

Package Downloads
SuperRender.EcmaScript.Engine

Embeddable ECMAScript 2025 engine for .NET: compile and execute JavaScript with sandboxed .NET interop.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.1-beta.2 56 4/14/2026
0.0.1-beta.1 48 4/14/2026