Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 215 Bytes

File metadata and controls

19 lines (14 loc) · 215 Bytes

API

Install

yarn add @entria/api

Usage

try {
    const data = await api({
       url: 'https://example.com/users',
       method: 'GET',
    };
catch (err) {
   console.log('not ok', err);
}