
# `@cranium/api`

Promise based HTTP client for web and React-Native based on [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) API

## Features

- Make HTTP request using fetch API
- Supports the [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) API
- Intercept request and response
- Cancel requests
- Automatic transforms for JSON data
- Automatic transform [FormData](https://developer.mozilla.org/en-US/docs/Web/API/FormData)

## Instalation

```
yarn add @cranium/api
```

### [Documentation](https://alexgul4enko.github.io/bones/docs/api/api_about/)