ladjs / superagent

Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
https://ladjs.github.io/superagent/
MIT License
16.58k stars 1.33k forks source link

Different than Gaxios? #1588

Closed tryhardest closed 4 years ago

tryhardest commented 4 years ago

I am trying to do a side by side and wondering if anyone can quickly point our obvious advantages with using SuperAgent which looks awesome over Gaxios (the Google HTTP wrapper over Note-Fetch). Has anyone tried this and Axios (or better yet Gaxios) and have any insights in why one might be better than the other? Thanks.

niftylettuce commented 4 years ago

I built a Fetch wrapper called Frisbee at https://github.com/niftylettuce/frisbee, which I'd recommend over any others, except maybe https://github.com/sindresorhus/ky-universal. XHR vs Fetch are completely different technologies. Superagent by far is the best XHR library that exists.