axios
npmv1.18.1TypeScriptPromise based HTTP client for the browser and node.js
Overview
axios is an npm package that promise based HTTP client for the browser and node.js. It is extremely widely used, with about 105.3M downloads per week. The latest version is 1.18.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need promise based HTTP client for the browser and node.js and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (105.3M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (43 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of axios.
Dependencies
Dev (39)
Used by
Popular packages that depend on axios.
Alternatives to axios
An HTTP/1.1 client, written from scratch for Node.js
Fast, unopinionated, minimalist web framework
LRU and FIFO caches for Client or Server
HTTP and HTTPS modules that follow redirects.
Browser-friendly inheritance fully compatible with standard node.js inherits()
HTTP status utility
Create HTTP error objects
Create and parse HTTP Content-Type header
Create and parse Content-Disposition header
HTTP response freshness testing
Range header field string parser
Manipulate the HTTP Vary header
Frequently installed together
An extremely fast JavaScript and CSS bundler and minifier.
React is a JavaScript library for building user interfaces.
Prettier is an opinionated code formatter
Next generation testing framework powered by Vite
Official React bindings for Redux
A JavaScript implementation of many web standards
Seamless REST/GraphQL API mocking library for browser and Node.js.
TypeScript definitions for node
HTTP server cookie parsing and serialization
HTTP status utility
React package for working with the DOM.
An AST-based pattern checker for JavaScript.
Version history
| Version | Published | License |
|---|---|---|
| 1.18.1latest | 27 days ago | MIT |
| 1.18.0 | 1 month ago | MIT |
| 0.33.0 | 1 month ago | MIT |
| 1.17.0 | 1 month ago | MIT |
| 1.16.1 | 2 months ago | MIT |
| 0.32.0 | 2 months ago | MIT |
| 1.16.0 | 2 months ago | MIT |
| 1.15.2 | 2 months ago | MIT |
| 0.31.1 | 3 months ago | MIT |
| 1.15.1 | 3 months ago | MIT |
| 0.31.0 | 3 months ago | MIT |
| 1.15.0 | 3 months ago | MIT |
| 1.14.0 | 3 months ago | MIT |
| 1.13.6 | 4 months ago | MIT |
| 0.30.3 | 5 months ago | MIT |
| 1.13.5 | 5 months ago | MIT |
| 1.13.4 | 5 months ago | MIT |
| 1.13.3 | 5 months ago | MIT |
| 1.13.2 | 8 months ago | MIT |
| 1.13.1 | 8 months ago | MIT |
Maintainers
Frequently asked questions
How do I install axios?
Run `npm install axios` to add axios to your npm project.
What license is axios released under?
axios is distributed under the MIT license.
How popular is axios?
axios has approximately 105,294,874 downloads per week.