Okojo.DotNet.Modules
0.2.0-preview.1
dotnet add package Okojo.DotNet.Modules --version 0.2.0-preview.1
NuGet\Install-Package Okojo.DotNet.Modules -Version 0.2.0-preview.1
<PackageReference Include="Okojo.DotNet.Modules" Version="0.2.0-preview.1" />
<PackageVersion Include="Okojo.DotNet.Modules" Version="0.2.0-preview.1" />
<PackageReference Include="Okojo.DotNet.Modules" />
paket add Okojo.DotNet.Modules --version 0.2.0-preview.1
#r "nuget: Okojo.DotNet.Modules, 0.2.0-preview.1"
#:package Okojo.DotNet.Modules@0.2.0-preview.1
#addin nuget:?package=Okojo.DotNet.Modules&version=0.2.0-preview.1&prerelease
#tool nuget:?package=Okojo.DotNet.Modules&version=0.2.0-preview.1&prerelease
Okojo.DotNet.Modules
Okojo.DotNet.Modules provides .NET ecosystem module-resolution primitives for Okojo embedders.
The first slice is intentionally small:
- model future module references for NuGet packages, project references, and local assembly files
- expose cache-location and cache-key helpers aligned with the .NET file-based app workflow and NuGet global packages
- provide a real module-loader wrapper for standard JS
importspecifiers such asdll:andnuget:
This package does not add JS syntax. The runtime surface is standard JavaScript import with resolver-owned specifiers
such as import Uri from "dll:C:\\libs\\MyInterop.dll#MyInterop.Uri" or
import JsonConvert from "nuget:Newtonsoft.Json@13.0.3#Newtonsoft.Json.JsonConvert", not a parser extension on the
JavaScript side. The current implementation loads CLR assemblies through the existing reflection-backed CLR access path and
keeps NuGet/local-DLL resolution policy out of Okojo core while leaving room for future reflection and IL-emit backends.
When a specifier omits #Clr.Path, the import acts as an assembly loader for the existing global clr namespace. For
example, import "dll:C:\\libs\\MyInterop.dll"; makes the assembly visible through clr.MyInterop..., and a default import
without a CLR path returns the root clr namespace object.
| 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
- Okojo.JavaScript.Embedding (>= 0.2.0-preview.1)
- Okojo.Reflection (>= 0.2.0-preview.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.0-preview.1 | 34 | 9/13/2026 |