This content originally appeared on DEV Community and was authored by ksplat
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
- 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!
https://github.com/ksplatdev/AxleJS
This content originally appeared on DEV Community and was authored by ksplat
ksplat | Sciencx (2021-08-29T00:49:59+00:00) AxleJS – Fetch, supercharged.. Retrieved from https://www.scien.cx/2021/08/29/axlejs-fetch-supercharged/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.