
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
https-client
Advanced tools
Simple REST client for `node.js` `https` module. Adds retries and timeout support to `https` module.
Simple REST client for node.js https module.
Has a single default export request.
Adds retries and timeout support to https module.
Adds default JSON support to the body and response.
Query parameters parsed from body.
Status code >= 400 will cause a rejection of the call.
No dependencies other than https module.
const request = require('https-client');
const body = {};
const headers = {};
const options = {};
const response = await request('POST', '/v1/endpoint', 'my-host.com', body, headers, options);
retry: number of retries, default 0
response: response timeout in ms, default 10000
deadline: deadline timeout in ms, default 60000
verbose: should log warnings, default true
All options are optional.
FAQs
Simple REST client for `node.js` `https` module. Adds retries and timeout support to `https` module.
The npm package https-client receives a total of 1 weekly downloads. As such, https-client popularity was classified as not popular.
We found that https-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.