{"library":"fetch-h","type":"library","category":null,"description":"A Fetch API client for Node.js that supports HTTP/1.1 and HTTP/2 with automatic protocol negotiation via ALPN. Current stable version is 3.0.2, published on npm, with semi-regular releases. Key differentiators include transparent HTTP/2 support, cookie management, built-in response compression (br, gzip, deflate), and TypeScript types. It uses the native Node.js http, https, and http2 modules without external dependencies, and manages sessions and socket reuse automatically. It provides a familiar browser-like fetch API extended for Node.js streams and offers context-based cookies and custom decoders.","language":"javascript","status":"active","version":"3.0.2","tags":["javascript","fetch","h2","http2","client","request","api","typesafe","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetch-h","imports":["import { fetch } from 'fetch-h2'","import { Headers } from 'fetch-h2'","import { AbortController } from 'fetch-h2'"]},{"cmd":"yarn add fetch-h","imports":[]},{"cmd":"pnpm add fetch-h","imports":[]}],"homepage":"https://github.com/grantila/fetch-h2#readme","github":"https://github.com/grantila/fetch-h2","docs":null,"changelog":null,"pypi":null,"npm":"fetch-h","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}