Package Exports
- memfs
- memfs/lib/index.js
- memfs/lib/node
- memfs/lib/node.js
- memfs/lib/print/index.js
- memfs/lib/volume
- memfs/lib/volume.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (memfs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
memfs
JavaScript file system utilities for Node.js and browser.
Install
npm i memfs
Docs
- 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
Demos
- 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
See also
unionfs
- creates a union of multiple filesystem volumesfs-monkey
- monkey-patches Node'sfs
module andrequire
functionlinkfs
- redirects filesystem pathsspyfs
- spies on filesystem actions
License
Apache 2.0