An open API service indexing awesome lists of open source software.

https://github.com/entria/api

API wrapper on top of fetch using flow generics
https://github.com/entria/api

api entria

Last synced: about 1 year ago
JSON representation

API wrapper on top of fetch using flow generics

Awesome Lists containing this project

README

          

# API

## Install

yarn add @entria/api

## Usage

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