Socket
Socket
Sign inDemoInstall

http-to-curl

Package Overview
Dependencies
8
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.1 to 1.2.2

4

package.json
{
"name": "http-to-curl",
"version": "1.2.1",
"version": "1.2.2",
"description": "Convert node HTTP request to curl",

@@ -13,3 +13,3 @@ "main": "lib/bundle.js",

"files": [
"lib/"
"lib"
],

@@ -16,0 +16,0 @@ "dependencies": {

@@ -6,8 +6,11 @@ # Node js HTTP request to cURL

## Installation ⚙️
```javascript
```sh
yarn add http-to-curl
# old way
npm install http-to-curl --save
```
## Usage 📚
```
```js
import httpToCurl from 'http-to-curl';

@@ -36,3 +39,3 @@ httpToCurl();

```
```js
import httpToCurl from 'http-to-curl';

@@ -39,0 +42,0 @@ httpToCurl([/api/v1/, /api/v3/]); << Only generate match url

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc