HTTP/2 Client with familiar HTTPS API

JSON →
library 2.2.1 ·javascript
verified May 27, 2026

http2-wrapper is a Node.js library that provides an HTTP/2 client using an API familiar to users of Node's built-in `https` module. It allows existing codebases that rely on the HTTP/1 API to transparently support HTTP/2 without extensive rewrites. The current stable version is 2.2.1, with releases occurring as needed for bug fixes and minor improvements, typically every few weeks as seen in recent changelogs. A key differentiator is its ability to bridge HTTP/1-style agents with native HTTP/2 streams, enabling HTTP/2 support in modules designed for HTTP/1. While the maintainer recommends using the native `http2` module directly for new projects, `http2-wrapper` excels as a compatibility layer or when custom HTTP/2 agents are needed. It ships with TypeScript types, facilitating safer development in TypeScript environments.

total hits 15
actors 7 distinct systems
last hit 3d ago AhrefsBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany