Something went wrong. Try again.
Monorepo for the nibling.run platform
Something went wrong. Try again.
12345678910111213141516171819202122232425262728<!doctype html><html lang="en"><head> <meta charset="utf-8"> <title>@nibling/kernel — ESM milestone</title> <link rel="stylesheet" href="/demo/demo.css"></head><body> <h1>@nibling/kernel — guest ESM via the browser's native linker (SW virtual origin)</h1> <pre id="out"></pre> <pre id="err"></pre> <p>exit: <span id="exit">…</span></p> <small>Guest: <code>import fs from 'node:fs'</code> → builtin facade · <code>import './greet.mjs'</code> → transformed ESM · <code>import './legacy.cjs'</code> → CJS facade · <code>import 'leftpad'</code> → exports map + CJS facade · <code>import.meta.url</code> → file:///app/main.mjs</small>
<!-- Import maps are document-scoped: they wire the PAGE's bare modifiers. Guest node:* resolution inside the worker goes through the builtin registry, and guest ESM specifiers are rewritten to /~/ virtual URLs by the kernel. --> <script type="importmap"> { "imports": { "@nibling/kernel": "/dist/runtime/host.js" } } </script> <script type="module" src="/demo/esm.js"></script></body></html>