@polyplug/loaders-dotnet
v0.1.3
Published
polyplug .NET/C# bundle loader for JavaScript/TypeScript hosts (Deno runtime required; Node FFI backend planned)
Maintainers
Readme
@polyplug/loaders-dotnet
polyplug .NET/C# bundle loader for JavaScript/TypeScript hosts.
Runtime requirement: Deno. This loader opens its native library through Deno's FFI (
Deno.dlopen). It installs and imports under Node.js but throws at runtime there. A Node FFI backend is planned. Until then, use Deno.
Usage
import { Runtime } from "@polyplug/host";
import { registerDotnetLoader } from "@polyplug/loaders-dotnet";Requires @polyplug/host. The
loader native (libpolyplug_dotnet) must be resolvable by the OS loader or via the
POLYPLUG_NATIVE_LIB environment variable.
