1.1.0 • Published 2 years ago
minueefetch v1.1.0
npm -i minueefetch
사용방법
Example ) import callAPI from 'minueefetch'
const responseJson = await callAPI('https://api.publicapis.org/entries',null,3000);
Options : callAPI( url, options, timeout_per_seconed ); url : API호출 주소 options : HEADER Options timeout_per_seconed : 초입력 Promise.race() 를 이용한 타임아웃기능, 기본 30000 : 30초