In-memory file-system with Node's fs API.
npm install @louwers/memfs[![][npm-badge]][npm-url]
[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
- 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
- Directory snapshot utility
- print 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
- [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