JavaScript file system utilities for Node.js and browser.
npm i memfs
- Documentation
- In-memory Node.js
fs
API experimental
fs
to File System Access API adapterexperimental
File System Access API tofs
adapterexperimental
crudfs
a CRUD-like file system abstractionexperimental
casfs
Content Addressable Storage file system abstraction- Directory
snapshot
utility print
directory tree to terminal
- In-memory Node.js
- 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
fs
in browser, creates a.tar
file in real folderfs
in browser, synchronous API, writes to real foldercrudfs
andcasfs
in browser and Node.js interoperability
unionfs
- creates a union of multiple filesystem volumesfs-monkey
- monkey-patches Node'sfs
module andrequire
functionlinkfs
- redirects filesystem pathsspyfs
- spies on filesystem actions
Apache 2.0