Skip to content

H2alagút: Fetch adapter that uses HTTP/2 and can tunnel through an HTTP/1 proxy

npmjs.com
1 pointlloydjones1 comment
On HN

Comments

What?

- HTTP/2: Utilises Node's built‑in http2 module.

- Proxy Tunneling: Automatically tunnels through an HTTP/1 proxy (via HTTP CONNECT) when a proxy configuration is provided.

- Fetch-like API: Provides a drop‑in replacement for the standard Fetch API. The returned Response object supports properties such as status and methods like text() and json().

Why?

Because many proxy services still use HTTP/1.1, while many sites use HTTP/2.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.