Skip to content

Feature/v0.5.0/polyfills fs and replace files api - #66

Merged
mavdol merged 10 commits into
mainfrom
feature/v0.5.0/polyfills-fs-replace-files-api
Feb 1, 2026
Merged

mavdol merged 10 commits into
mainfrom
feature/v0.5.0/polyfills-fs-replace-files-api

Conversation

@mavdol

@mavdol mavdol commented Feb 1, 2026 •

Copy link
Copy Markdown
Member

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

Polyfills completed:

  • 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()
  • stream-web: Use stream-web for Node.js stream/web compatibility.

@mavdol
mavdol merged commit 29e10ac into main Feb 1, 2026
2 checks passed
@mavdol
mavdol deleted the feature/v0.5.0/polyfills-fs-replace-files-api branch February 1, 2026 22:18
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