{"library":"http-https-agent","type":"library","category":null,"description":"`http-https-agent` is a small, focused utility package designed to simplify the selection of appropriate Node.js HTTP or HTTPS agents based on a given URL's protocol. It provides a single factory function that, when invoked with agent options (like `keepAlive`), returns another function capable of dynamically providing either an `http.Agent` or `https.Agent` instance. The package is currently at version 1.0.2. Due to its minimal scope and lack of recent updates (last published several years ago), it appears to be in a maintenance-only state. Its primary differentiator is consolidating agent management for dual-protocol scenarios, avoiding manual `if/else` checks for agent instantiation. It internally relies on `lodash.startswith` for protocol detection.","language":"javascript","status":"maintenance","version":"1.0.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-https-agent","imports":["import httpHttpsAgent from 'http-https-agent';"]},{"cmd":"yarn add http-https-agent","imports":[]},{"cmd":"pnpm add http-https-agent","imports":[]}],"homepage":null,"github":"https://github.com/kesla/http-https-agent","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-https-agent","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/http-https-agent/compatibility"}}