1. 首页
  2. 数据库
  3. 其它
  4. memfs:具有Node API的内存中文件系统 源码

memfs:具有Node API的内存中文件系统 源码

上传者: 2021-02-25 16:36:59上传 ZIP文件 205.75KB 热度 8次
记忆体 具有的内存中文件系统。 已实现节点的fs API,请参阅 将文件存储在内存中的Buffer 引发与Node.js相同的错误 具有智能节点的概念 实现硬链接 实现软链接(又名符号链接,符号链接) 许可*将来可能会实施 可以在浏览器中使用,请参阅 安装 npm install --save memfs 用法 import { fs } from 'memfs' ; fs . writeFileSync ( '/hello.txt' , 'World!' ) ; fs . readFileSync ( '/hello.txt' , 'utf8' ) ; // World! 从普通的
下载地址
用户评论