首页 发现 帮助
登录
lovecoding
/
VIP32
10
0
派生 0
文件 工单管理 0 合并请求 0 Wiki
目录树: 114cc24e00
分支列表 标签列表
master
VIP32
/
webpack
/
demo
/
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
页面: 79ms 模板: 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 官方网站