rjax
v0.0.1
English | 简体中文
Porting the excellent @angular/common/http module.
Responsive ajax library based on rxjs.
Written in TypeScript with predictable static types.
Powerful and easy to use.
yarn add rjax # or: npm install rjax --save
import { Rjax } from 'rjax';const rjax = new Rjax();rjax.get(`/user/12345`).subscribe(response => {// Succeed Callbackconsole.log(response);}, error => {// Error Callbackconsole.log(error);});
API document and example link
rjax © ppjjzz, Released under the MIT License.
Authored and maintained by ppjjzz.