Skip to content
JS
Package category

HTTP clients

Libraries for making HTTP requests from browsers and Node.js.

330 packages6 comparisons

Packages compared

330 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
node-fetch
Implementation of the Fetch API for Node.js, built on Node's http module.
141.9m+109%-3 years ago
3.3.2
ESM onlyBundledHTTP clients, Promises and async control flow
undici
HTTP/1.1 client written from scratch for Node.js. It powers Node's built-in fetch.
132.4m+470%-1 day ago
8.11.2
CommonJSBundledHTTP clients
axios
Promise-based HTTP client for the browser and Node.js.
85.4m+47%-30 days ago
1.20.0
ESM + CommonJSBundledHTTP clients, Promises and async control flow
gaxios
A simple common HTTP client specifically for Google APIs and services.
73m+246%-8 days ago
8.1.0
ESM + CommonJSBundledCloud SDKs, Node.js utilities
fetch-blob
Blob & File implementation in Node.js, originally from node-fetch.
42.6m+260%-3 years ago
4.0.0
ESM onlyBundledHTTP clients
formdata-polyfill
HTML5 `FormData` for Browsers and Node.
41.9m+249%-4 years ago
4.0.10
ESM onlyNonePolyfills and shims, HTTP clients
got
HTTP request library for Node.js with streams, retries, hooks and pagination.
30.4m+28%-25 days ago
16.0.0
ESM onlyBundledHTTP clients, Compression and archives
cross-fetch
Universal WHATWG Fetch API for Node, Browsers and React Native
27.3m+47%-1 year ago
4.1.0
CommonJSBundledHTTP clients, React
teeny-request
Like request, but smaller.
24.9m+142%-1 month ago
11.0.1
CommonJSBundledHTTP clients
minipass-fetch
An implementation of window.fetch in Node.js using Minipass streams
24m+22%-4 months ago
6.0.0
CommonJSNoneHTTP clients
@szmarczak/http-timer
Timings for HTTP requests
21.1m+23%-5 years ago
5.0.1
ESM onlyBundledHTTP clients, Node.js utilities
ofetch
A better fetch API. Works on node, browser and workers.
20.7m+716%-10 months ago
1.5.1
ESM + CommonJSBundledHTTP clients
simple-get
Simplest way to make http get requests. Supports HTTPS, redirects, gzip/deflate, streams in < 100 lines.
19.5m+81%-4 years ago
4.0.1
CommonJSNoneCompression and archives, HTTP clients
superagent
HTTP request library for the browser and Node.js, with the same API in both.
16.1m+43%-2 days ago
10.4.1
CommonJSNoneHTTP clients
@opentelemetry/instrumentation-undici
OpenTelemetry instrumentation for `undici` http client and Node.js fetch()
14.2m+148%-24 days ago
0.32.0
CommonJSBundledHTTP clients, Monitoring and error tracking
headers-polyfill
A native "Headers" class polyfill.
14m+156%-6 months ago
5.0.1
ESM + CommonJSBundledPolyfills and shims, HTTP clients
swr
React Hooks library for remote data fetching
12.4m+142%-1 month ago
2.5.1
ESM + CommonJSBundledHTTP clients, React
npm-registry-fetch
Fetch-based http client for use with npm registry APIs
10.4m+22%-3 months ago
20.0.1
CommonJSNoneHTTP clients
isomorphic-fetch
Isomorphic WHATWG Fetch API, for Node & Browserify
8.2m+60%-6 years ago
3.0.0
CommonJSNoneHTTP clients
graphql-request
Minimal GraphQL client supporting Node and browsers for scripts or simple apps.
6.8m+38%-9 months ago
7.4.0
ESM + CommonJSBundledGraphQL, HTTP clients
unfetch
Bare minimum fetch polyfill in 500 bytes
6.8m+47%-3 years ago
5.0.0
ESM + CommonJSBundledPolyfills and shims, HTTP clients
sync-fetch
Synchronous version of the Fetch API
6.1m+187%-10 days ago
0.7.1
CommonJSNoneHTTP clients
meros
A fast 642B utility that makes reading multipart responses simple
5.8m+63%-1 year ago
1.3.2
ESM + CommonJSBundledGraphQL, HTTP clients
@cypress/request
Cypress's fork of a simplified HTTP request client.
5.1m-9%-3 months ago
4.0.1
CommonJSNoneHTTP clients
ky
HTTP client built on the Fetch API, with retries, timeouts, hooks and method shortcuts.
5.1m+71%-27 days ago
2.1.0
--HTTP clients
request-promise-core
Core Promise support implementation for the simplified HTTP request client 'request'.
4.3m-13%-6 years ago
1.1.4
CommonJSNoneHTTP clients, Promises and async control flow
request-promise-native
The simplified HTTP request client 'request' with Promise support. Powered by native ES6 promises.
3.5m-17%-6 years ago
1.0.9
CommonJSNoneHTTP clients, Promises and async control flow
@hey-api/openapi-ts
🌀 OpenAPI to TypeScript code generator. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.
3.4m+473%-3 months ago
0.99.0
ESM onlyBundledDocumentation tooling, HTTP clients
@supabase/node-fetch
A light-weight module that brings window.fetch to node.js
2.5m-22%-3 years ago
2.6.13
ESM + CommonJSNoneHTTP clients
@opentelemetry/instrumentation-fetch
OpenTelemetry instrumentation for fetch http client in web browsers
2.2m+229%-24 days ago
0.222.0
ESM + CommonJSBundledMonitoring and error tracking, HTTP clients
get-it
Generic HTTP request library for node, browsers and workers
2.1m+265%-today
9.6.0
ESM onlyBundledHTTP clients
phin
The ultra-lightweight Node.js HTTP client
1.8m+4%-2 years ago
3.7.1
CommonJSBundledHTTP clients
retry-axios
Retry HTTP requests with Axios.
1.7m+86%-5 months ago
4.0.3
ESM + CommonJSBundledHTTP clients
@hapi/wreck
HTTP Client Utilities
1.4m---4 months ago
18.1.2
--HTTP clients
@ardatan/sync-fetch
Synchronous version of the Fetch API
1.4m---4 years ago
0.0.1
--HTTP clients
extrareqp2
Promise based HTTP client for the browser and node.js
1.3m+26%-2 years ago
1.0.0
--HTTP clients, Promises and async control flow
postman-request
Simplified HTTP request client.
1.2m+3%-2 months ago
2.88.1-postman.49
--HTTP clients
react-query
Hooks for managing, caching and syncing asynchronous and remote data in React
1.2m+1%-3 years ago
3.39.3
ESM + CommonJSBundledCaching, React
micro-ftch
Wrappers for built-in fetch() enabling killswitch, logging, concurrency limit and other features
1.1m+36%-26 days ago
1.2.1
ESM onlyBundledPromises and async control flow, HTTP clients
centra
The core lightweight HTTP client for Node
1m+34%-2 years ago
2.7.0
CommonJSNoneHTTP clients
digest-fetch
digest auth request plugin for fetch/node-fetch also support http basic auth authentication
1m+133%-3 years ago
3.1.1
ESM onlyBundledAuthentication and authorisation, HTTP clients
response-iterator
Creates an async iterator for a variety of inputs in the browser and node. Supports fetch, node-fetch, and cross-fetch
952.3k-15%-12 days ago
1.0.13
ESM + CommonJSBundledHTTP clients
request-promise
The simplified HTTP request client 'request' with Promise support. Powered by Bluebird.
883.6k-25%-6 years ago
4.2.6
CommonJSNoneHTTP clients, Promises and async control flow
@scalar/use-toasts
display toasts in Vue
835.5k---1 month ago
0.10.5
ESM onlyBundledVue, Documentation tooling
@scalar/api-client
the open source API testing client
749k---1 day ago
3.21.0
ESM + CommonJSBundledDocumentation tooling, Testing
http-cookie-agent
Allows cookies with every Node.js HTTP clients.
600.5k+53%-4 months ago
8.0.0
CommonJSNoneHTTP clients
headers-utils
A Headers class polyfill and transformation library.
595.7k+33%-5 years ago
3.0.2
CommonJSBundledPolyfills and shims, HTTP clients
gh-got
Convenience wrapper for Got to interact with the GitHub API
590.5k+81%-5 months ago
12.0.0
ESM onlyNoneHTTP clients
native-request
A simple package with no dependencies for native requests using callback
571.8k+7%-2 years ago
1.1.2
CommonJSNoneHTTP clients
@daytona/toolbox-api-client
OpenAPI client for @daytona/toolbox-api-client
570.6k---today
0.217.0
CommonJSBundledHTTP clients, TypeScript tooling

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • node-fetchImplementation of the Fetch API for Node.js, built on Node's http module.
  • undiciHTTP/1.1 client written from scratch for Node.js. It powers Node's built-in fetch.
  • axiosPromise-based HTTP client for the browser and Node.js.
  • gaxiosA simple common HTTP client specifically for Google APIs and services.
  • fetch-blobBlob & File implementation in Node.js, originally from node-fetch.
  • formdata-polyfillHTML5 `FormData` for Browsers and Node.
  • gotHTTP request library for Node.js with streams, retries, hooks and pagination.
  • cross-fetchUniversal WHATWG Fetch API for Node, Browsers and React Native
  • teeny-requestLike request, but smaller.
  • minipass-fetchAn implementation of window.fetch in Node.js using Minipass streams
  • @szmarczak/http-timerTimings for HTTP requests
  • ofetchA better fetch API. Works on node, browser and workers.
  • simple-getSimplest way to make http get requests. Supports HTTPS, redirects, gzip/deflate, streams in < 100 lines.
  • superagentHTTP request library for the browser and Node.js, with the same API in both.
  • @opentelemetry/instrumentation-undiciOpenTelemetry instrumentation for `undici` http client and Node.js fetch()
  • headers-polyfillA native "Headers" class polyfill.
  • swrReact Hooks library for remote data fetching
  • npm-registry-fetchFetch-based http client for use with npm registry APIs
  • isomorphic-fetchIsomorphic WHATWG Fetch API, for Node & Browserify
  • graphql-requestMinimal GraphQL client supporting Node and browsers for scripts or simple apps.
  • unfetchBare minimum fetch polyfill in 500 bytes
  • sync-fetchSynchronous version of the Fetch API
  • merosA fast 642B utility that makes reading multipart responses simple
  • @cypress/requestCypress's fork of a simplified HTTP request client.
  • kyHTTP client built on the Fetch API, with retries, timeouts, hooks and method shortcuts.
  • request-promise-coreCore Promise support implementation for the simplified HTTP request client 'request'.
  • request-promise-nativeThe simplified HTTP request client 'request' with Promise support. Powered by native ES6 promises.
  • @hey-api/openapi-ts🌀 OpenAPI to TypeScript code generator. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.
  • @supabase/node-fetchA light-weight module that brings window.fetch to node.js
  • @opentelemetry/instrumentation-fetchOpenTelemetry instrumentation for fetch http client in web browsers
  • get-itGeneric HTTP request library for node, browsers and workers
  • phinThe ultra-lightweight Node.js HTTP client
  • retry-axiosRetry HTTP requests with Axios.
  • @hapi/wreckHTTP Client Utilities
  • @ardatan/sync-fetchSynchronous version of the Fetch API
  • extrareqp2Promise based HTTP client for the browser and node.js
  • postman-requestSimplified HTTP request client.
  • react-queryHooks for managing, caching and syncing asynchronous and remote data in React
  • micro-ftchWrappers for built-in fetch() enabling killswitch, logging, concurrency limit and other features
  • centraThe core lightweight HTTP client for Node
  • digest-fetchdigest auth request plugin for fetch/node-fetch also support http basic auth authentication
  • response-iteratorCreates an async iterator for a variety of inputs in the browser and node. Supports fetch, node-fetch, and cross-fetch
  • request-promiseThe simplified HTTP request client 'request' with Promise support. Powered by Bluebird.
  • @scalar/use-toastsdisplay toasts in Vue
  • @scalar/api-clientthe open source API testing client
  • http-cookie-agentAllows cookies with every Node.js HTTP clients.
  • headers-utilsA Headers class polyfill and transformation library.
  • gh-gotConvenience wrapper for Got to interact with the GitHub API
  • native-requestA simple package with no dependencies for native requests using callback
  • @daytona/toolbox-api-clientOpenAPI client for @daytona/toolbox-api-client