Pea request
An elegant HTTP client based on Fetch
Installation
npm i @peajs/request
Usage
import { request } from '@peajs/request'
;(async () => {
const data = await request('https://jsonplaceholder.typicode.com/todos/1')
})()
An elegant HTTP client based on Fetch
npm i @peajs/request
import { request } from '@peajs/request'
;(async () => {
const data = await request('https://jsonplaceholder.typicode.com/todos/1')
})()
npm i @peajs/request
8
0.6.0
MIT
226 kB
16