Skip to content

xiangwenhu/FileSystem

Repository files navigation

基于indexedDB和promise的文件系统


## 如何使用
    window.onload = async function () {
    let fs = await FileSystem.getInstance()           
    let dir = await fs.root.getDirectory('测试文件夹1')
    let file = await fs.root.getFile('测试文件1')

       await file.write('我爱北京天安门')   file.readAsText().then(content => console.log(content))

}

## 文档API 先等等,作者很忙,暂时还是看源码吧

**演示地址: https://xiangwenhu.github.io/FileSystem/demo/**


## 演示效果截图


Releases

No releases published

Packages

No packages published