http-to-curl
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"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 |
6406
45