Compare

Comparing axios vs. got vs. request vs. reqwest vs. superagent

How are they different?

Here we compare between axios, got, request, reqwest and superagent. In this comparison we will focus on the latest versions of those packages. The current versions are axios 0.16.1, got 6.7.1, request 2.81.0, reqwest 2.0.5 and superagent 3.5.2.

axios, Promise based HTTP client for the browser and node.js. It was authored by Matt Zabriskie on Aug, 2014.
got, Simplified HTTP requests. It was authored on Mar, 2014.
request, Simplified HTTP request client. It was authored by Mikeal Rogers on Jan, 2011.
reqwest, A wrapper for asynchronous http requests. It was authored by Dustin Diaz on Apr, 2011.
superagent, elegant & feature rich browser / node HTTP with a fluent API. It was authored by TJ Holowaychuk on Aug, 2011.

When comparing those packages you notice that axios is the more popular package today (18,426 Stars on Github).
axios has more stars on Github and more followers on Github.
got has more frequent updates, less open issues and less open pull requests.
request has been out there for longer (since 3 years ago), it also has more versions, more daily downloads, more weekly downloads, more monthly downloads and more forks.
reqwest has less dependencies.
superagent has a bigger community of maintainers.

In our review axios got 917,139 points, got got 3,507,832 points, request got 15,898,046 points, reqwest got 43,544 points and superagent got 2,002,363 points. The points are a summary of how big the community is and how well the package is maintained.

Lets dive deeper and have a look at some more details on those packages.

Going into more detail

 

axios
0.16.1
NPM

got
6.7.1
NPM

request
2.81.0
NPM

reqwest
2.0.5
NPM

superagent
3.5.2
NPM

description Promise based HTTP client for the browser and node.js Simplified HTTP requests Simplified HTTP request client. A wrapper for asynchronous http requests elegant & feature rich browser / node HTTP with a fluent API
keywords xhr, http, ajax, promise, node http, https, get, got, url, uri, request, util, utility, simple, curl, wget, fetch http, simple, util, utility ender, ajax, xhr, connection, web 2.0, async, sync http, ajax, request, agent
author Matt Zabriskie N/A Mikeal Rogers Dustin Diaz TJ Holowaychuk
Related / similar packages
isomorphic-fetch isomorphic-fetch needle isomorphic-fetch bluebird
Comparison
licenses MIT MIT Apache-2.0 MIT MIT
created 3 years ago (Aug, 2014) 3 years ago (Mar, 2014) 6 years ago (Jan, 2011) 6 years ago (Apr, 2011) 6 years ago (Aug, 2011)
modified 16 hours ago 2 days ago 8 hours ago a month ago 2 days ago
total versions 33 67 118 72 109
version average every a month every 17 days every 19 days every a month every 19 days
maintainers 2 3 4 2 10
dependencies 1 11 22 0 10
Daily Downloads 61,982 240,962 964,773 3,144 136,320
Weekly Downloads 367,165 1,308,202 5,968,963 14,649 750,073
Monthly Downloads 1,362,635 5,461,790 24,823,493 60,680 3,090,134
open issues 104 31 473 105 100
open pull requests 19 5 22 26 6
stargazers 18,426 1,601 15,195 2,361 10,369
subscribers 405 29 379 91 217
forks 1,052 90 1,867 295 968
wiki
Points
Overall points

917,139

Points

3,507,832

Points

15,898,046

Points

43,544

Points

2,002,363

Points
CLI Shortcuts
install npm i -S axios npm i -S got npm i -S request npm i -S reqwest npm i -S superagent
remove npm r -S axios npm r -S got npm r -S request npm r -S reqwest npm r -S superagent

Share this with other developers