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.1.0, request 2.81.0, reqwest 2.0.5 and superagent 3.6.0.

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 (25,445 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,085,696 points, got got 4,384,153 points, request got 14,266,939 points, reqwest got 63,327 points and superagent got 2,414,416 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.1.0
NPM

request
2.81.0
NPM

reqwest
2.0.5
NPM

superagent
3.6.0
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) 7 years ago (Jan, 2011) 6 years ago (Apr, 2011) 6 years ago (Aug, 2011)
modified 7 hours ago 4 days ago 2 days ago 5 months ago 20 hours ago
total versions 34 69 118 72 110
version average every a month every 18 days every 20 days every a month every 20 days
maintainers 2 4 4 2 10
dependencies 2 14 22 0 10
Daily Downloads 18,139 103,449 321,719 1,543 55,464
Weekly Downloads 402,502 1,685,275 5,294,783 22,688 970,878
Monthly Downloads 1,692,738 6,974,049 22,875,448 93,603 3,772,589
open issues 101 26 553 105 112
open pull requests 24 4 30 25 8
stargazers 25,445 1,873 16,578 2,448 11,170
subscribers 565 34 397 96 223
forks 1,626 114 1,999 306 1,007
wiki
Points
Overall points

1,085,696

Points

4,384,153

Points

14,266,939

Points

63,327

Points

2,414,416

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