Open
Description
Since the announcement of request going into "maintenance mode" (full details in #3142) I'd like to collect a list of alternative libraries to use. Please comment below and I'll update this table. When we have a list of good alternatives we should add this to the readme.
In no particular order and dreadfully incomplete;
Package Name | Bundle Size | API Style | Summary |
---|---|---|---|
node-fetch | 0.4kb | promise / stream | A light-weight module that brings window.fetch to Node.js |
bent | 1kb | fp / promise / stream | Functional HTTP client w/ async/await |
got | 48.4kb | promise / stream | Simplified HTTP requests |
make-fetch-happen | 442kb | promise / stream | make-fetch-happen is a Node.js library that wraps node-fetch-npm with additional features node-fetch doesn't intend to include, including HTTP Cache support, request pooling, proxies, retries, and more! |
axios | 11.9kb | promise / stream | Promise based HTTP client for the browser and node.js |
unfetch | 1kb | promise / stream | Tiny 500b fetch "barely-polyfill" |
superagent | 18kb | chaining / promise | Small progressive client-side HTTP request library, and Node.js module with the same API, sporting many high-level HTTP client features |
tiny-json-http | 22kb | promise | Minimalist HTTP client for GET and POSTing JSON payloads |
needle | 164kb | chaining / promise | The leanest and most handsome HTTP client in the Nodelands |
urllib | 816kb | callback / promise | Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, cookies and more. |