Best Alternatives to axios

Promise-based HTTP client for browser and Node.js

Why look for an alternative?

Axios adds ~14kB gzipped to your bundle. With native fetch now available in Node.js 18+, many projects no longer need a third-party HTTP client. Alternatives like ky offer a modern fetch wrapper with less weight, while got provides more features for complex Node.js use cases.

Current

axios

v1.15.0 · MIT

Promise based HTTP client for the browser and node.js

Weekly Downloads

102.0M

Bundle (gzip)

14.1 kB

node-fetch

v3.3.2 · MIT

Minimal fetch polyfill for older Node.js versions

Weekly Downloads

130.6M

Bundle (gzip)

22.6 kB

UniversalLightweight

undici

v8.1.0 · MIT

Node.js's own HTTP client — fastest raw performance, official npm package

Weekly Downloads

80.1M

Bundle (gzip)

152.0 kB

Node onlyTypeScriptActively maintainedZero deps

got

v15.0.2 · MIT

Feature-rich HTTP client for Node.js with retry, pagination and streams

Weekly Downloads

33.2M

Bundle (gzip)

38.6 kB

TypeScriptNode onlyActively maintained

superagent

v10.3.0 · MIT

Chainable HTTP client with plugin support, works in browser and Node.js

Weekly Downloads

18.6M

Bundle (gzip)

18.3 kB

UniversalBrowserTypeScript

ofetch

v1.5.1 · MIT

Better fetch API with auto-parsing, error handling and isomorphic support

Weekly Downloads

6.3M

Bundle (gzip)

3.8 kB

UniversalTypeScriptESMTree-shakeable

ky

v2.0.1 · MIT

Tiny fetch wrapper (4kB) with retry, timeout and hooks — ideal for browser apps

Weekly Downloads

4.3M

Bundle (gzip)

6.9 kB

ESMTypeScriptBrowserUniversalLightweightTree-shakeable

More HTTP Client Packages

See the Full Download History

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

Open in npm Trends