Node fs-like module backed by IndexedDB with a memory fallback when IndexedDB is unavailable.
bun installbun testImplemented (callback + delegated promises):
- access / chmod
- mkdir / readdir / readFile / writeFile / appendFile
- rename / realpath / stat
- unlink / rmdir / rm
- copyFile / cp
- truncate
- open / close
- read / write (buffer and string write forms)
- fstat / ftruncate / fsync / fdatasync
Permissions model on virtual nodes:
- read
- write
- execute
Sync methods intentionally throw ENOTSUP with guidance to use fs.promises.*, because IndexedDB is asynchronous by nature.
bun run index.ts