memfs
Version:
In-memory file-system with Node's fs API.
20 lines (12 loc) • 500 B
Markdown
# Synchronous `fs` in browser
This demo executes tests of **synchronous** Node.js API built on top of File
System Access API in browser.
There are two tests:
- OPFS — virtual file system built into browsers.
- Native File System Access API folder — a real folder that user explicitly grants permission to.
See the assertions run in the browser console.
https://github.com/streamich/memfs/assets/9773803/f841b6cc-728d-4341-b426-3daa6b43f8ac
Run:
```
demo:fsa-to-node-sync-tests
```