Simple Lib for ZeppOS 1.0/2.0/2.1 app-side to build a vitual file system.
npm install @cuberqaq/fs-sidenpm i @cuberqaq/fs-side --save to install fs-side in your ZeppOS Miniapp project.
js
import * as fs from "@cuberqaq/fs-side";
`
Then you can use the methods in the same way you do with @zos/fs module. API Document see Zepp OS Developers Documentation
For example:
`js
import fs from "@cuberqaq/fs-side";
fs.writeFileSync({
path: "test.txt",
data: "hello world!",
options: {
encoding: "utf8",
},
});
``