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.2, got 7.0.0, 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 (22,145 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 1,027,954 points, got got 4,419,496 points, request got 15,989,860 points, reqwest got 63,107 points and superagent got 2,435,215 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.2
NPM

got
7.0.0
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, net, network, electron 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 isomorphic-fetch isomorphic-fetch asynquence
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 a day ago 19 days ago 14 hours ago 3 months ago a day ago
total versions 34 68 118 72 109
version average every a month every 17 days every 20 days every a month every 20 days
maintainers 2 4 4 2 10
dependencies 2 13 22 0 10
Daily Downloads 67,690 295,316 1,068,984 3,964 164,962
Weekly Downloads 366,873 1,621,543 5,829,486 22,675 857,477
Monthly Downloads 1,570,627 6,916,858 25,040,739 90,837 3,818,853
open issues 172 23 515 105 97
open pull requests 30 4 27 26 6
stargazers 22,145 1,761 15,955 2,409 10,804
subscribers 503 33 390 96 224
forks 1,341 103 1,920 304 996
wiki
Points
Overall points

1,027,954

Points

4,419,496

Points

15,989,860

Points

63,107

Points

2,435,215

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