{"library":"http2-client","type":"library","category":null,"description":"http2-client is a Node.js library designed to provide a transparent, drop-in replacement for Node's native `http` and `https` modules. It allows applications to make requests that automatically negotiate between HTTP/1.1 and HTTP/2 protocols using ALPN, without requiring changes to the existing `http.request` or `http.get` interfaces. This is particularly useful for integrating HTTP/2 capabilities into older modules or applications that are tightly coupled to the HTTP/1.1 API. The library manages connection pooling for both protocols, ensuring efficient resource utilization. The current stable version is 1.3.5. Based on the provided release history (v1.3.2, v1.3.3), the package appears to have an infrequent release cadence, suggesting a maintenance rather than actively developed status. Key differentiators include its adherence to the standard Node.js `http` module API and automatic protocol detection.","language":"javascript","status":"maintenance","version":"1.3.5","tags":["javascript","http2","http2 client","request","compatible","client","compatibility"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http2-client","imports":["const { request } = require('http2-client');","const { get } = require('http2-client');","const { HttpRequestManager } = require('http2-client');"]},{"cmd":"yarn add http2-client","imports":[]},{"cmd":"pnpm add http2-client","imports":[]}],"homepage":null,"github":"https://github.com/hisco/http2-client","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http2-client","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-client/compatibility"}}