JavaScript file system utilities for Node.js and browser. Implementation of in-memory Node.js fs module API and in-memory browser File System API, as well as adapters from fs module to File Sytem API and from File Sytem API to fs module.
npm i memfs
- In-memory Node.js
fsAPI - In-memory browser File System (Access) API
fsto File System (Access) API adapter- File System (Access) API to
fsadapter - Directory
snapshotutility printdirectory tree to terminal- Code reference
- Test coverage
- Git in browser, which writes to a real folder
- Git in browser, which writes to OPFS file system
- Git on in-memory file system
fsin browser, creates a.tarfile in real folderfsin browser, synchronous API, writes to real folder
unionfs- creates a union of multiple filesystem volumesfs-monkey- monkey-patches Node'sfsmodule andrequirefunctionlinkfs- redirects filesystem pathsspyfs- spies on filesystem actions
Apache 2.0