The `client-http` package, at its final release version 0.0.7, provided a simplified API for making HTTP/HTTPS requests in Node.js. Its core features included automatic proxy detection via the `http_proxy` environment variable, manual proxy configuration, basic cookie management, and automatic handling of HTTP 301/302 redirects. It also allowed for custom request headers and timeout settings. Development ceased due to the existence of the more comprehensive 'request' library, and the project is explicitly marked as abandoned by its maintainer. The library's `engines` configuration strictly targets very old Node.js versions (`>=0.6.11 <=0.7.0 || >=0.7.3`), making it fundamentally incompatible with modern Node.js runtimes and entirely unsuitable for current development due to severe security vulnerabilities and lack of maintenance. There is no ongoing release cadence.
Verified import paths — ran on the pinned version, not inferred.
This library is CommonJS-only and does not support ES Modules syntax. Attempting to use `import` will result in a runtime error in modern Node.js.
Methods like `get` are exported as properties of the main `http` object, not as named exports from the module root.
Similar to `get`, `request` is a method on the `http` object. It supports POST requests with body and custom headers.
This function globally configures the proxy for subsequent requests. It's not a per-request option.
Demonstrates making basic HTTP GET requests to Google and Example.com, logging response data and showing how to set a global timeout.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.