@leicht.io/rekvaest
v0.0.12
Published
Yet another HTTP Client made simple with no support issues (uses XMLHttpRequest and Promise).
Downloads
34
Readme
Rekvaest
Yet another HTTP Client made simple with no support issues (uses XMLHttpRequest and Promise).
Supports simple use cases; right now only support for GET (POST and other will be implemented).
Size: ~ 1-2kb gzipped.
Install
npm install @leicht/[email protected]
Run Demo
npm run demo
Usage
import Rekvaest from "Rekvaest";
GET
Rekvaest.get(this.baseUrl + "todos/1").then(response => { console.log(response); }, rejection => { console.log(rejection); })