rx-lean-js-core
TypeScript icon, indicating that this package has built-in type declarations

0.6.1 • Public • Published

rx-lean-js-core - JavaScript SDK in Rx mode for LeanCloud

let uiList: Array<{ id: string, title: string }> = [];
let query = new RxAVQuery('RxTodo');
 
query.equalTo('title', '开会');
 
query.seek().map(obj => {
    return {
        id: obj.objectId,
        title: obj.get('title')
    }
}).subscribe(tupple => {
    uiList.push(tupple);
}, error => { }, () => {
 
});

安装

npm install rx-lean-js-core --save

研发计划 - Roadmap

目前支持的模块 - Available

  • 数据存储(RxAVObject)
  • 数据查询(RxAVQuery)
  • 云引擎函数(RxLeanEngine)
  • ACL(RxAVRole & RxAVACL)
  • 短信(注册和登陆)
  • 统计分析(RxAVAnalytics)
  • 推送(RxAVPush)
  • 聊天 (RxRealtime)
  • LiveQuery(RxLiveQuery)
  • 客户端多 App 实例切换(RxAVApp)

已在计划内 - In plan

  • nodejs (express 等服务端组件)
  • React
  • vue
  • React Native

不在计划内 - Not in plan

  • 文件功能(上传和下载)

Readme

Keywords

none

Package Sidebar

Install

npm i rx-lean-js-core

Weekly Downloads

59

Version

0.6.1

License

MIT

Last publish

Collaborators

  • wujun4code