Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@cuberqaq/fs-side

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cuberqaq/fs-side

Simple Lib for ZeppOS 1.0/2.0/2.1 app-side to build a vitual file system.

latest
Source
npmnpm
Version
1.0.5
Version published
Weekly downloads
18
28.57%
Maintainers
1
Weekly downloads
 
Created
Source

fs-side

Simple Lib for ZeppOS 1.0/2.0/2.1 app-side to build a vitual file system.

It use settings storage api to storage data, not a true file system, so don't save many big files. Welcome to send issues and PR to make this project better! Some api were not tested. I don't know whether it could work correctly.

1. Install

Use Command npm i @cuberqaq/fs-side --save to install fs-side in your ZeppOS Miniapp project.

2. Import & Use

In your app-side JavaScript source file, use this to import fs-side:

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:

import fs from "@cuberqaq/fs-side";
fs.writeFileSync({
  path: "test.txt",
  data: "hello world!",
  options: {
    encoding: "utf8",
  },
});

Keywords

zeppos

FAQs

Package last updated on 20 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts