@abalmus/request
v1.2.2
Published
Core utils, fetch wrapper, querystring utils
Downloads
16
Readme
Simple HTTP client based on modern Fetch API.
Description
fetch-request - simple HTTP wrapper for more comfortable fetch API usage.
Installation
// NPM
npm install @abalmus/fetch-request
// YARN
yarn add @abalmus/fetch-request
Usage
import { request } from '@abalmus/fetch-request';
request({
url: '/api/v1/getUsers',
method: 'POST'
}).send();