Files
starface-outlook-sync-addin/node_modules/memfs/demo/fsa-to-node-sync-tests
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00
..
2026-04-03 09:38:48 +02:00

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