New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sync-request-curl

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sync-request-curl - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

27

package.json

@@ -7,3 +7,3 @@ {

},
"version": "1.1.2",
"version": "1.1.3",
"files": [

@@ -21,24 +21,11 @@ "dist"

"keywords": [
"sync",
"sync-request",
"synchronous",
"synchronous-request",
"request",
"fast",
"quick",
"request",
"fast",
"quick",
"performant",
"performant",
"peformance",
"http",
"https",
"curl",
"libcurl",
"node-libcurl"
"sync", "sync-request", "synchronous", "synchronous-request", "request",
"fast", "faster", "quick", "quicker", "speed", "speedy",
"performant", "performance", "high performance", "high performing",
"http", "https",
"curl", "libcurl", "node-libcurl"
],
"author": "Khiet Tam Nguyen",
"license": "MIT",
"description": "Fast way to send synchronous web requests. API is a subset of the original sync-request, leverages node-libcurl",
"description": "Fast way to send synchronous web requests in NodeJS. API is a subset of sync-request. Leverages node-libcurl for speed. Cannot be used in a browser",
"dependencies": {

@@ -45,0 +32,0 @@ "node-libcurl": "^3.0.0"

@@ -1,2 +0,1 @@

# sync-request-curl

@@ -10,3 +9,2 @@

- [1. Installation](#1-installation)

@@ -61,3 +59,3 @@ - [2. Usage](#2-usage)

URL as a string.
URL as a string

@@ -73,4 +71,4 @@ e.g. https://toohak.fly.dev

- **`body`** - body for POST and PUT requests, e.g. `JSON.stringify({ email: 'example@email.com', password: 'comp1531' })`
- **`json`** - sets body as JSON representation of value and adds `Content-type: application/json` to the headers.
- **`timeout`** - times out if no response is returned within the given number of milliseconds, e.g. `2000`.
- **`json`** - sets body as `JSON` representation of value and adds `Content-type: application/json` to the headers, e.g. `{ email: 'example@email.com', password: 'comp1531' }`
- **`timeout`** - times out if no response is returned within the given number of milliseconds, e.g. `2000`

@@ -77,0 +75,0 @@ In [src/types.ts](src/types.ts), the following is defined:

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