AxleJS
Why?
Good'ol Fetch API. Simple and easy, but bad error handling, long options, and doesn't always follow redirects.
Thats where AxleJS supercharges fetch, with better error handling, easier to use options, can automatically follow redirects, and an easier way to manage and view headers and search queries!
Features
- Functions for all HTTP Restful Methods
- Middleware and Middleware Options for code reusabilty.
- Only ~9KB minified and ~15KB unminified
- Custom, Extended Response and Request classes
- Built-in way to cancel requests
- Still keeps Fetch simple and easy to use
- Fully written in TypeScript
- Includes Type definitions
- And a lot more..
GitHub Repository
AxleJS is free and open-source using the MIT License!
Top comments (4)
AxleJS is more lightweight than Axios, and it has nearly the same features with AxleJS having a couple more than Axios.
An even more important question, will the library be actively supported?
It will be.
As of 1.1.0, it will support custom and built-in middleware and options for code reusability!