Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

request-libcurl

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

request-libcurl - npm Package Compare versions

Comparing version 0.0.5 to 1.0.0

4

index.js
'use strict';
const { URL } = require('url');
const { Curl } = require('node-libcurl');
const { Curl, CurlFeature } = require('node-libcurl');

@@ -18,3 +18,3 @@ const request = function LibCurlRequest (_opts, cb) {

if (opts.noStorage || opts.rawBody) {
curl.enable(Curl.feature.NO_STORAGE);
curl.enable(CurlFeature.NO_STORAGE);
}

@@ -21,0 +21,0 @@

{
"name": "request-libcurl",
"version": "0.0.5",
"version": "1.0.0",
"description": "Extremely stable HTTP request module built on top of libcurl with retries, timeouts, Promise and async/await API",

@@ -41,4 +41,4 @@ "main": "index.js",

"dependencies": {
"node-libcurl": "^1.3.3"
"node-libcurl": "^2.0.0"
}
}
# Request-Extra
<a href="https://www.patreon.com/bePatron?u=20396046">
<img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160">
</a>
```shell

@@ -14,3 +18,3 @@ npm install --save request-libcurl

- 😎 IDNs support (*internationalized domain names*);
- 😎 Repeat (*built-in retries*) request of connection was broken;
- 😎 Repeat (*built-in retries*) request on broken connection;
- 😎 Send GET/POST with custom `body` and headers;

@@ -112,3 +116,2 @@ - 😎 Follow or deny redirects;

__Note__: When using `opts.rawBody` or `opts.noStorage` callback/promise won't return `body` and `headers`, to get headers and body use next events:

@@ -229,4 +232,3 @@

This project wouldn't be possible without [ostr.io](https://ostr.io).
Using [ostr.io](https://ostr.io) you are not only [protecting domain names](https://ostr.io/info/domain-names-protection), [monitoring websites and servers](https://ostr.io/info/monitoring), using [Prerendering for better SEO](https://ostr.io/info/prerendering) of your JavaScript website, but support our Open Source activity, and great packages like this one are available for free.
- [Become a patron](https://www.patreon.com/bePatron?u=20396046) — support my open source contributions with monthly donation
- Use [ostr.io](https://ostr.io) — [Monitoring](https://snmp-monitoring.com), [Analytics](https://ostr.io/info/web-analytics), [WebSec](https://domain-protection.info), [Web-CRON](https://web-cron.info) and [Pre-rendering](https://prerendering.com) for a website
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc