Okojo 0.1.0-preview.1

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

Okojo

Okojo is the core JavaScript engine package for .NET.

It provides:

  • script and module evaluation
  • promises and async execution
  • the main embedding API (JsRuntime, JsRealm, agents, modules)

Quick start

using Okojo;

using var runtime = JsRuntime.Create();
var realm = runtime.MainRealm;
var value = realm.Evaluate("1 + 2");

Console.WriteLine(value);

Add companion packages as needed:

  • Okojo.Hosting for host schedulers and worker helpers
  • Okojo.WebPlatform for fetch, timers, workers, and server/web globals
  • Okojo.Reflection for opt-in CLR access
  • Okojo.WebAssembly for backend-agnostic WebAssembly integration
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.
  • net10.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Okojo:

Package Downloads
Okojo.WebAssembly

Backend-agnostic WebAssembly integration APIs for Okojo runtimes.

Okojo.WebPlatform

Portable web-platform APIs such as fetch, timers, workers, and host-installed globals for Okojo.

Okojo.Reflection

Reflection-based CLR interop extensions for Okojo runtimes.

Okojo.Diagnostics

Diagnostics and formatting helpers for inspecting Okojo values and bytecode.

Okojo.Hosting

Hosting helpers, schedulers, queues, and worker infrastructure for Okojo runtimes.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.1 39 4/10/2026