Socket
Socket
Sign inDemoInstall

http-to-curl

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-to-curl - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

package.json
{
"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!! 😎
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