{"library":"http2-wrapper","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"2.2.1","tags":["javascript","http2","https","http","request","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http2-wrapper","imports":["import * as http2 from 'http2-wrapper';","import { request } from 'http2-wrapper';","import { auto } from 'http2-wrapper';"]},{"cmd":"yarn add http2-wrapper","imports":[]},{"cmd":"pnpm add http2-wrapper","imports":[]}],"homepage":null,"github":"https://github.com/szmarczak/http2-wrapper","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http2-wrapper","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/http2-wrapper/compatibility"}}