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.15.3, got 6.7.1, request 2.79.0, reqwest 2.0.5 and superagent 3.3.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 request is the more popular package today (13,912 Stars on Github).
got has more frequent updates, less open issues and less open pull requests.
request has been out there for longer (since 2 years ago), it also has more versions, more daily downloads, more weekly downloads, more monthly downloads, more stars on Github, more followers on Github and more forks.
reqwest has less dependencies.
superagent has a bigger community of maintainers.

In our review axios got 377,694 points, got got 2,024,529 points, request got 9,735,082 points, reqwest got 32,981 points and superagent got 1,460,208 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.15.3
NPM

got
6.7.1
NPM

request
2.79.0
NPM

reqwest
2.0.5
NPM

superagent
3.3.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 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
asynquence, co, connect, active_record asynquence, co, connect, active_record active_record, async, httprequest, koa httprequest isomorphic-fetch
Comparison
licenses MIT MIT Apache-2.0 MIT MIT
created 2 years ago (Aug, 2014) 3 years ago (Mar, 2014) 6 years ago (Jan, 2011) 6 years ago (Apr, 2011) 5 years ago (Aug, 2011)
modified 8 hours ago 5 days ago 3 days ago a month ago 2 days ago
total versions 31 67 116 72 99
version average every a month every 15 days every 19 days every a month every 20 days
maintainers 2 3 4 2 10
dependencies 1 11 20 0 10
Daily Downloads 8,906 51,419 247,163 514 48,355
Weekly Downloads 189,287 918,338 4,426,288 12,400 626,043
Monthly Downloads 528,764 3,075,013 14,760,762 44,682 2,219,679
open issues 69 21 446 100 94
open pull requests 17 1 30 26 3
stargazers 11,977 1,409 13,912 2,249 9,570
subscribers 258 26 365 88 203
forks 625 74 1,718 286 901
wiki
Points
Overall points

377,694

Points

2,024,529

Points

9,735,082

Points

32,981

Points

1,460,208

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