Key facts
| Gen 1 | |
|---|---|
| Gen 2 | |
| Kind of tool | Backend frameworks and APIs |
| Status of Gen 1 | Deprecated The request README says that as of February 11, 2020 the package is fully deprecated and no new changes are expected to land. |
| Effort to move | Mechanical: same ideas, different calls |
| What breaks | request is callback-based and its option names differ from every successor, so each call site changes; got also drops the built-in oauth, hawk, aws and proxy options. |
| Should you move? | Move now request makes network calls in production code and its own README says no new changes are expected to land, so a flaw found today stays in place. This is gen2.dev's view, not the maintainers'. |
| Sources checked | 2026-11-28, 5 sources |
Gen 1 and Gen 2 side by side
| npm registry | ||
|---|---|---|
| Package | request | undici |
| Latest version | 2.88.2 | 8.14.0 |
| Latest release | Feb 11, 2020 | Nov 27, 2026 |
| First release | Jan 22, 2011 | Jul 26, 2018 |
| License | Apache-2.0 | MIT |
| Downloads, last week | 13,206,421 | 326,541,164 |
Read from each package registry on November 29, 2026. Downloads include automated installs such as build servers, so compare them as a trend, not a head count. The registry marks the latest request release as deprecated.
What Gen 1 was
request was the HTTP client that Node.js developers reached for by default. One function took a URL or an options object and a callback, and handled redirects, cookies, forms, authentication and streams.
Its creator, Mikeal Rogers, proposed winding it down himself. In an issue opened on March 30, 2019 he wrote that the package should "go into maintenance mode and stop considering new features or major releases." His reasoning was blunt: "The patterns at the core of request are out of date."
The README records how that ended: "As of Feb 11th 2020, request is fully deprecated. No new changes are expected to land."
What replaced it
Mostly, the platform did.
- fetch. Node.js ships a global
fetch, which its documentation describes as a "browser-compatible implementation." It was added in v17.5.0 and v16.15.0, came out from behind its flag in v18.0.0, and stopped being experimental in v21.0.0. - undici. The HTTP client underneath that
fetch, written from scratch for Node.js. Use it directly when you need connection pools or finer control. - got. A third-party client with more built in. It publishes a migration guide written for
requestusers.
What moving involves
Every call site changes, because request is built on callbacks and its successors return promises. The work is repetitive and predictable.
If request is called from many files, put your own HTTP module in front of it, point the callers at that, then replace what is behind it. That is branch by abstraction.
The got guide lists the renames: qs becomes searchParams, strictSSL becomes rejectUnauthorized, gzip becomes decompress, jar becomes cookieJar, and request.defaults becomes got.extend.
What breaks
For got, the guide marks these as breaking:
- json. "The
jsonoption is not aboolean, it's anobject." - Signing.
oauth,hawk,awsandhttpSignatureare removed. You sign requests in a custom instance. - Proxies and agents.
proxy,pool,foreverandagentOptionsare removed. You pass a custom agent. - Auth.
authis replaced byusernameandpassword. - Header names. All header names are lowercased.
With fetch, the difference is more basic. It is a smaller API, so behavior request provided through options becomes code you write or a library you add.
Should you move?
Yes, now. This is code that talks to the network in production, and its own README says no new changes are expected to land. It has been fully deprecated since February 11, 2020.
The exception is a script or internal tool that calls only hosts you control and is not worth touching. For a direct dependency in a running service, schedule the replacement.
Common questions
Is request dead?
It is deprecated. The request README says that as of February 11, 2020 the package is fully deprecated and no new changes are expected to land.
What replaced request?
fetch built into Node.js, undici or got. Effort to move: Mechanical: same ideas, different calls
Should I move off request?
gen2.dev's view: Move now. request makes network calls in production code and its own README says no new changes are expected to land, so a flaw found today stays in place.
Sources
- request/request README - GitHub - The deprecation notice dated February 11, 2020, stating that no new changes are expected to land.
- Mikeal Rogers - Request's Past, Present and Future, issue 3142 - request/request (March 30, 2019) - The maintenance mode proposal and its reasons, written by the package's creator.
- Global objects: fetch - Node.js API documentation - The version history of the built-in fetch and the statement that it is based on undici.
- Fetching data with Node.js - nodejs.org - Describes undici as the HTTP client library behind fetch in Node.js, with examples of fetch, pools and streams.
- Migration guide: Request to Got - sindresorhus/got on GitHub - Option renames, removed options and behavior changes for request users moving to got.
- request - npm - latest version, release dates, license and last week's downloads, read on November 29, 2026
- undici - npm - latest version, release dates, license and last week's downloads, read on November 29, 2026
Sources checked on 2026-11-28. Tools change status quickly; if this date is old, read the sources before acting on it.

