In-memory file-system with Node's fs API.
npm install @kylecarbs/memfs[![][chat-badge]][chat] [![][npm-badge]][npm-url]
[chat]: https://onp4.com/@vadim/~memfs
[chat-badge]: https://img.shields.io/badge/Chat-%F0%9F%92%AC-green?style=flat&logo=chat&link=https://onp4.com/@vadim/~memfs
[npm-url]: https://www.npmjs.com/package/memfs
[npm-badge]: https://img.shields.io/npm/v/memfs.svg
JavaScript file system utilities for Node.js and browser.
``shell`
npm i memfs
- Documentation
- In-memory Node.js fs API
- experimental fs to File System Access API adapterexperimental
- File System Access API to fs adapterexperimental
- crudfs a CRUD-like file system abstractionexperimental
- casfs Content Addressable Storage file system abstractionsnapshot
- Directory utilityprint
- directory 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
- fs in browser, creates a .tar file in real folder
- fs in browser, synchronous API, writes to real folder
- crudfs and casfs in browser and Node.js interoperability
- [unionfs][unionfs] - creates a union of multiple filesystem volumesfs-monkey
- [][fs-monkey] - monkey-patches Node's fs module and require functionlinkfs
- [][linkfs] - redirects filesystem pathsspyfs`][spyfs] - spies on filesystem actions
- [
[unionfs]: https://github.com/streamich/unionfs
[fs-monkey]: https://github.com/streamich/fs-monkey
[linkfs]: https://github.com/streamich/linkfs
[spyfs]: https://github.com/streamich/spyfs
Apache 2.0