A promise-based HTTP client for the browser and Node.js. It does the same job as the built-in fetch, with interceptors and error handling that fetch leaves to you.
I used Axios heavily from 2014 until ES6 was well supported in web browsers, when the built-in fetch() API largely removed the need for it.
- Age
- 12 years (since 2014)
Experience highlights
- Handled requests, responses, errors, and loading states with it, including in Vue.js applications.
- Moved to the browser’s native fetch() once it was widely supported, and wrote about when each is the better choice.