Best Alternatives to got

Human-friendly and powerful HTTP request library for Node.js

Why look for an alternative?

Got is Node.js-only. If you need browser compatibility or a lighter footprint, alternatives like ky or native fetch may be a better fit.

Current

got

v15.0.2 · MIT

Human-friendly and powerful HTTP request library for Node.js

Weekly Downloads

33.2M

Bundle (gzip)

43.8 kB

node-fetch

v3.3.2 · MIT

Simple fetch polyfill, less overhead than got for basic use cases

Weekly Downloads

130.6M

Bundle (gzip)

22.6 kB

UniversalLightweight

axios

v1.15.0 · MIT

Universal HTTP client with interceptors — works in both browser and Node.js

Weekly Downloads

102.0M

Bundle (gzip)

14.1 kB

UniversalBrowserTypeScript

undici

v8.1.0 · MIT

Fastest Node.js HTTP client — used internally by Node.js itself

Weekly Downloads

80.1M

Bundle (gzip)

152.0 kB

Node onlyTypeScriptZero depsActively maintained

superagent

v10.3.0 · MIT

Chainable API, works in browser and Node.js

Weekly Downloads

18.6M

Bundle (gzip)

18.3 kB

UniversalBrowser

ky

v2.0.1 · MIT

Lightweight fetch wrapper with similar feature set but browser-compatible

Weekly Downloads

4.3M

Bundle (gzip)

7.0 kB

ESMTypeScriptLightweightTree-shakeableBrowser

More HTTP Client Packages

See the Full Download History

Compare got and its alternatives side by side with download trends over time.

Open in npm Trends