@entria/api
v0.0.1
Published
Api wrapper
Downloads
7
Readme
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);
}