@edu-fe/os-app

All apps for os

Stats

StarsIssuesVersionUpdatedCreatedSize
@edu-fe/os-app
1.3.32 years ago3 years agoMinified + gzip package size for @edu-fe/os-app in KB

Readme

os-app

用于手机端直接调用

* 需要安装 lodash.merge


  import os from 'os-app'

  os.type // app
  os.name // wps | wpsIos | email

  // 所有方法均为异步, 返回 Promise
  os.pay.call() // 支付
  os.user.get() // 获取wpsSid
  os.user.login() // 登录
  os.view.back() // 返回和退出
  os.view.direction() // 横竖屏
  os.view.open() // 打开新窗口
  os.view.toast() // 小弹框

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.