首頁 探索 說明
登入
lovecoding
/
web0715
10
0
複刻 0
檔案 問題管理 0 Wiki
目錄樹: 178b58057f
分支列表 標籤列表
master
web0715
/
13.webpack
/
demo1
/
node_modules
/
memfs
/
README.md

README.md 2.1 KB
文件歷史 原始文件

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
頁面: 77ms 樣板: 1ms
繁體中文(臺灣)
繁體中文(臺灣) English 简体中文 繁體中文(香港) Deutsch français Nederlands latviešu русский 日本語 español português do Brasil polski български italiano suomi Türkçe čeština српски svenska 한국어 galego українська English (United Kingdom) Magyar Slovenčina Indonesian Persian Vietnamese Português Монгол Română
Javascript Licenses 網站