⚡️ Extremely stable HTTP request module built on top of libcurl with retries, timeouts and callback API
BSD-3-CLAUSE License
Bot releases are visible (Hide)
📦 NPM [email protected]
Major Changes
>=16.14
Whats' new
type: module
.cjs
CommonJS version built via rollup.jsUpdates/Changes
chrome@126
Dependencies
[email protected]
, was v3.0.0
Dev Dependencies
[email protected]
, was v4.3.7
[email protected]
, was v10.1.0
Published by dr-dimitru almost 2 years ago
null
) values as headers
option to unset default headers like Accept:
and default User-Agent
form
option is string when calculating Content-Length
headerrequest.defaultOptions.*
^14.14 || >=16
node-libcurl
updated to v3.0.0
, (was v2.3.4
)[email protected]
[email protected]
Published by dr-dimitru over 2 years ago
This is maintenance release
Published by dr-dimitru over 2 years ago
👷♂️ This is maintenance release
📦 Dependencies update
[email protected]
, was v2.3.3
dev
] [email protected]
, was v4.3.4
dev
] [email protected]
, was v9.1.1
Published by dr-dimitru about 3 years ago
Dependencies:
[email protected]
, was v2.3.1
;[dev]
[email protected]
, was [email protected]
.Published by dr-dimitru over 3 years ago
Changes:
location
header to the final response headers, when {followRedirect: true}
{followRedirect: true}
Dependencies:
[email protected]
, was v2.3.0
(fix missing zstd
dependency);[dev]
[email protected]
;[dev]
[email protected]
.Published by dr-dimitru over 3 years ago
Added:
pipeTo
option — Pass response data to writableStream, for example download a file to FSChanged:
.pipe()
method now can be used multiple times to pipe response to multiple writeable streams
node-libcurl
upgraded to v2.3.0
, was v2.2.0
[dev-dependency]
mocha
upgraded to v8.2.1
, was v8.1.1
Published by dr-dimitru about 4 years ago
node-libcurl
updated to v2.2.0
, was v2.1.1
;dev-dependency
mocha
updated to v8.1.1
, was v7.1.2
.Published by dr-dimitru over 4 years ago
Added:
.pipe()
method;.pipe()
method;Published by dr-dimitru over 4 years ago
Changes:
>=9.0.0
;Updates:
node-libcurl
to v2.1.1
, was v2.0.3
;dev-dependency
] Update mocha
to v7.1.2
, was v7.1.1
;Published by dr-dimitru over 4 years ago
[email protected]
, was v7.1.0
.Published by dr-dimitru over 4 years ago
mocha
to v7.1.0
, was v6.2.2
.Published by dr-dimitru almost 5 years ago
node-libcurl
. Via checking availability of Curl.option
, as some of the options might be not available due to build-configuration or platform itself;Published by dr-dimitru almost 5 years ago
DEBUG
env.varnode-libcurl
to v2.0.3
, was v2.0.2
Published by dr-dimitru almost 5 years ago
.abort()
method.abort()
method — as per documentation to return 499: Client Closed Request
error objectPublished by dr-dimitru almost 5 years ago
[email protected]
(was 6.2.1
)Published by dr-dimitru about 5 years ago
In order to follow our primary idea — simple, robust, and efficient codebase we have removed all unnecessary "features", leaving us with a classic callback-based API.
New:
rejectUnauthorizedProxy
- Check SSL/TLS certificate of a proxy hostupload
- Easily upload a file with a single optioncurlOptions
- Explicitly pass options to libcurl
curlFeatures
- Explicitly enable/disable features of libcurl
LibCurlRequest#abort()
- Abort ongoing requestLibCurlRequest#send()
- Send (e.g. perform) pending requestLibCurlRequest#onData()
- Hook data
streaming eventLibCurlRequest#onHeader
- Hook headers
streaming eventRemoved:
LibCurlRequest#request
LibCurlRequest#curl
LibCurlRequest#on(/*...*/)
— events APIChanged:
node-libcurl
upgraded to v2.0.2
(was v2.0.1
)Thanks to @JCMais for node-libcurl
library
Thanks to @curl team for maintaining libcurl
library through decades
Thanks to @bagder for building and maintaining libcurl
since forever!
Published by dr-dimitru over 5 years ago
Published by dr-dimitru over 5 years ago
dev
dependencies;Published by dr-dimitru over 5 years ago