Package Exports
- memfs
- memfs/lib/constants
- memfs/lib/constants.js
- memfs/lib/encoding
- memfs/lib/encoding.js
- memfs/lib/fsa-to-node
- memfs/lib/fsa-to-node/index.js
- memfs/lib/index.js
- memfs/lib/node
- memfs/lib/node-to-crud
- memfs/lib/node-to-crud/index.js
- memfs/lib/node-to-fsa/util
- memfs/lib/node-to-fsa/util.js
- memfs/lib/node.js
- memfs/lib/node/FileHandle
- memfs/lib/node/FileHandle.js
- memfs/lib/node/FsPromises
- memfs/lib/node/FsPromises.js
- memfs/lib/node/constants
- memfs/lib/node/constants.js
- memfs/lib/node/options
- memfs/lib/node/options.js
- memfs/lib/node/util
- memfs/lib/node/util.js
- memfs/lib/print
- memfs/lib/print/index.js
- memfs/lib/queueMicrotask
- memfs/lib/queueMicrotask.js
- memfs/lib/snapshot/binary.js
- memfs/lib/snapshot/index.js
- memfs/lib/snapshot/json.js
- memfs/lib/thingies/Defer
- memfs/lib/thingies/Defer.js
- memfs/lib/thingies/concurrency
- memfs/lib/thingies/concurrency.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 memfsResources
- Documentation- In-memory Node.js fsAPI
- In-memory browser File System (Access) API
- fsto File System (Access) API adapter
- File System (Access) API to fsadapter
- experimental- crudfsa CRUD-like file system abstraction
- experimental- casfsContent Addressable Storage file system abstraction
- Directory snapshotutility
- printdirectory tree to terminal
 
- In-memory Node.js 
- Code reference
- Test coverage
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
- fsin browser, creates a- .tarfile in real folder
- fsin browser, synchronous API, writes to real folder
- crudfsand- casfsin browser and Node.js interoperability
See also
- unionfs- creates a union of multiple filesystem volumes
- fs-monkey- monkey-patches Node's- fsmodule and- requirefunction
- linkfs- redirects filesystem paths
- spyfs- spies on filesystem actions
License
Apache 2.0