Skip to content

entria/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
}

About

API wrapper on top of fetch using flow generics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published