Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
leancloud-typescript-rx-sdk
Advanced tools
npm install leancloud-typescript-rx-sdk --save
LeanCloud TypeScript SDK API Doc
Because Google choose it,and Microsoft made it.
因为 RxJS 可以很好解决异步和事件组合的问题。大多数 BaaS 或者 PaaS 的使用者都是倾向于服务端是一个所见即所用的东西(正如 LeanCloud 这些年以来一直致力于实现的目标一样), 因此大多数用户都是客户端编程经验丰富,而经验丰富的客户端工程师对于异步和事件都不会陌生,而在 Rx 的编程理念中,致力于在这两者事件找到一种结合:
也就是不管是主动和被动的行为都视为我作为一个客户端订阅了这两种行为的结果,这就是两者的共同点。
对于习惯了 Rx 的开发模之后,对客户端工程师来说很容易「深陷其中」。
正如下面的实例代码,向 LeanCloud 云端保存一个对象:
let todo: RxAVObject = new RxAVObject('RxTodo');
todo.set('title', '开会');
todo.set('time', '2016-12-03');
todo.set('reminder', new Date());
todo.save().subscribe(success => {
if (success) console.log(todo.objectId);
});
在 Angular2 以及 Ionic2 中均可使用,而这恰好是这个 SDK 存在的理由。
假设你要开发一个小的 Web 前端项目,你完全可以不花一毛钱租服务器,食用
LeanEngine + Angular2 + LeanCloud TypeScript SDK
这个套餐就可以开发一个不简单的项目了。
假设你要开发一个移动 App,你想做全平台 iOS & Android,你就可以使用 Ionic2 做为你迭代的第一个版本的选择,因为 Ionic2 = Angular2 + Cordova,实际上你就是在开发一个 Web 项目。
FAQs
leancloud-typescript-rx-sdk
The npm package leancloud-typescript-rx-sdk receives a total of 2 weekly downloads. As such, leancloud-typescript-rx-sdk popularity was classified as not popular.
We found that leancloud-typescript-rx-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.