borzoi
v0.0.16
Published
The simpliest data fetching
Readme
Borzoi
The simpliest data-fetching
Borzoi is a micro Fetch API wrapper that allows you to write less code to achieve better results.
Features
- [x] Full Typescript documentation
- [x] Auto JSON, URLSearchParams, FormData transforms
- [x] Auto response body transforms
- [x] Global defaults
- [x] Simple error handling
- [x] Interceptors
Installation
Borzoi works anywhere where Fetch API is present. When fetch function is not defined you have to install a polyfill, this isn't handled by Borzoi.
Install Borzoi using the following command:
$ npm i borzoiTo determine the project's status Borzoi uses the process.env.NODE_ENV environment variable.
For usage, please refer to tests
License
MIT
