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.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 memfs
Resources
- Documentation
- In-memory Node.js
fs
API - In-memory browser File System (Access) API
fs
to File System (Access) API adapter- File System (Access) API to
fs
adapter experimental
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
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