What problem does it solve?
It removes uncertainty about what JavaScript and Node-style capabilities are available when running TypeScript or Scala agents in a QuickJS-based WebAssembly environment.
Core Features & Use Cases
- Browser/Web API availability: Use common web platform APIs like
fetch, Request/Response, URL, streams, crypto.getRandomValues, and more without extra imports.
- Node.js module compatibility: Import Node-compatible modules (e.g.,
node:fs, node:crypto, node:http, node:stream) for filesystem, networking, crypto, and utilities.
- Compatibility stubs: Understand which Node modules exist only as throw/no-op stubs (e.g.,
node:worker_threads, node:tls) to avoid runtime surprises.
- Scala.js integration notes: Safely use
node:fs at runtime with lazy initialization to prevent build-time pre-initialization failures.
Quick Start
Ask for the JavaScript runtime API support you need (for example, which node: modules or web APIs you can use) for your specific task inside the QuickJS WASM environment.