Home Explore Help
Sign In
lovecoding
/
web0715
10
0
Fork 0
Files Issues 0 Wiki
Tree: 178b58057f
Branches Tags
master
web0715
/
13.webpack
/
demo1
/
node_modules
/
memfs
/
README.md

README.md 2.1 KB
History Raw

memfs

JavaScript file system utilities for Node.js and browser.

Install

npm i memfs

Resources

  • Documentation
    • In-memory Node.js fs API
    • experimental fs to File System Access API adapter
    • experimental File System Access API to fs adapter
    • experimental crudfs a CRUD-like file system abstraction
    • experimental casfs Content Addressable Storage file system abstraction
    • Directory snapshot utility
    • print directory tree to terminal
  • 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 folder
  • fs in browser, synchronous API, writes to real folder
  • crudfs and casfs in browser and Node.js interoperability

See also

  • unionfs - creates a union of multiple filesystem volumes
  • fs-monkey - monkey-patches Node's fs module and require function
  • linkfs - redirects filesystem paths
  • spyfs - spies on filesystem actions

License

Apache 2.0

© 2025 Gogs
Page: 78ms Template: 1ms
English (United Kingdom)
English (United Kingdom) English 简体中文 繁體中文(香港) 繁體中文(臺灣) Deutsch français Nederlands latviešu русский 日本語 español português do Brasil polski български italiano suomi Türkçe čeština српски svenska 한국어 galego українська Magyar Slovenčina Indonesian Persian Vietnamese Português Монгол Română
Javascript Licenses Website