wasmerio / wasmer-js

Monorepo for Javascript WebAssembly packages by Wasmer

Home Page:https://wasmerio.github.io/wasmer-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow `Directory` to hook into the browser's FileSystem API

Michael-F-Bryan opened this issue · comments

The FileSystem API is a browser spec that gives you the ability to write to files/directories on the user's machine. Being able to construct a Directory using a FileSystemDirectoryHandle would allow users to mount host files in the same way that the wasmer CLI does.

It also provides a origin-specific filesystem called the Origin Priviate File System which is stored in a hidden location on disk.