Skip to content

Roadmap for v0.5.0 - #62

Merged
mavdol merged 3 commits into
mainfrom
epic/v0.5.0/define-roadmap
Jan 30, 2026
Merged

mavdol merged 3 commits into
mainfrom
epic/v0.5.0/define-roadmap

Conversation

@mavdol

@mavdol mavdol commented Jan 29, 2026 •

Copy link
Copy Markdown
Member

Roadmap for v0.5.0


v0.5.0: Node.js Ecosystem Compatibility Extended

Status: 🗓️ Planned

Goal: Enable natural Node.js development patterns and improve npm package compatibility in WASM.

Polyfills needed:

  • path: Use path-browserify and alias import path from 'path'.
  • os: Custom minimal polyfill for import os from 'os'.
  • process: Comprehensive process polyfill (env, argv, cwd, exit, nextTick) injected as a global via esbuild.
  • url: Alias Node's import { URL } from 'url' to native Web URL class.
  • buffer: Use buffer package to polyfill Node.js Buffer class → Uint8Array.
  • events: Use events package to polyfill EventEmitter.
  • stream: Use readable-stream for Node.js stream compatibility.
  • fs: Map import fs from 'fs' to WASI file operations:
    • fs.readFile() → Capsule's readText()/readBytes()
    • fs.writeFile() → Capsule's writeText()/writeBytes()
    • fs.readdir() → Capsule's list()
    • Document supported subset vs. full Node.js fs API

@mavdol
mavdol merged commit cbde0f7 into main Jan 30, 2026
2 checks passed
@mavdol
mavdol deleted the epic/v0.5.0/define-roadmap branch January 30, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant