http-to-curl
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "http-to-curl", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Convert node HTTP request to curl", | ||
@@ -31,3 +31,3 @@ "main": "lib/bundle.js", | ||
"type": "git", | ||
"url": "git+https://github.com/drgx/http-to-curl.git" | ||
"url": "https://github.com/drgx/http-to-curl.git" | ||
}, | ||
@@ -34,0 +34,0 @@ "bugs": { |
# Node js HTTP request to cURL | ||
Tired to manually generate curl from nodejs request for debugging proposes? Need to export nodejs request to REST client (e.g. [Insomnia](https://insomnia.rest/) and [Postman](https://www.getpostman.com/))? node-http-to-curl come to the rescue!! | ||
Tired to manually generate curl from nodejs request for debugging proposes? Need to export nodejs request to REST client (e.g. [Insomnia](https://insomnia.rest/) and [Postman](https://www.getpostman.com/))? http-to-curl come to the rescue!! | ||
@@ -7,3 +7,3 @@ | ||
```javascript | ||
yarn add node-http-to-curl | ||
yarn add http-to-curl | ||
``` | ||
@@ -13,7 +13,7 @@ | ||
``` | ||
import httpToCurl from 'node-http-to-curl'; | ||
import httpToCurl from 'http-to-curl'; | ||
httpToCurl(); | ||
/* | ||
import your favorite http client (e.g. axios, isomorphic fetch or even vanilla request) all works well with node-http-to-curl. | ||
import your favorite http client (e.g. axios, isomorphic fetch or even vanilla request) all works well with http-to-curl. | ||
@@ -38,3 +38,3 @@ In this example we using axios | ||
``` | ||
import httpToCurl from 'node-http-to-curl'; | ||
import httpToCurl from 'http-to-curl'; | ||
httpToCurl([/api/v1/, /api/v3/]); << Only generate match url | ||
@@ -45,2 +45,2 @@ ``` | ||
## Contributing | ||
We'd ❤️ to have your helping hand on node-http-to-curl! Feel free to PR's, add issues or give feedback! Happy Hacking!! 😎 | ||
We'd ❤️ to have your helping hand on http-to-curl! Feel free to PR's, add issues or give feedback! Happy Hacking!! 😎 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
154259