finds.dev

mikeal/r2

HTTP client. Spiritual successor to request.

View on GitHub

★ 4,404JavaScriptApache-2.0updated Sep 2019

// the take

A minimal HTTP client for Node.js built on top of the Fetch API, from the author of the original `request` package. The pitch is simplicity and browser compatibility — same code runs in both environments. It's for developers who want something lighter than `request` but more ergonomic than raw `fetch`.

Built on Fetch rather than Node's `http` module, so browserify output is tiny (16K gzipped vs 500K for `request`). Promise-first API that feels natural with async/await. The `.json`, `.text`, `.response` chain accessors are a neat ergonomic touch. From the author of `request`, so the design intent is credible.

Dead project — last commit was 2019, and this predates Node's built-in `fetch` (added in Node 18), which makes this library largely pointless for modern Node code. No streaming support documented. Tiny API surface means you'll hit the edges quickly on anything non-trivial (auth flows, retries, redirects). At this point you'd just use `undici` or native `fetch` instead.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
4,404
Forks
116
Language
JavaScript
License
Apache-2.0
Last commit
1 Sep 2019

// nearby

If r2 isn't quite it.

All repos →