Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

curlformat

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curlformat - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

bin/ffcurl

5

History.md

@@ -0,3 +1,8 @@

## v0.0.2 - August 13, 2014
* Quote URLs.
* Add `ffcurl` as an alias for `fcurl --extended`.
## v0.0.1 - August 9, 2014
* Yo.

2

index.js

@@ -60,3 +60,3 @@ var qsparse = require('querystring').parse;

Request.prototype.toString = function () {
var cmd = 'http ' + this.method + ' ' + this.url;
var cmd = 'http ' + this.method + ' ' + quote(this.url);
var cr = ' \\\n';

@@ -63,0 +63,0 @@ var args = [];

{
"name": "curlformat",
"version": "0.0.1",
"version": "0.0.2",
"description": "CLI utility to clean up your 'Copy as cURL' strings",

@@ -10,3 +10,4 @@ "main": "index.js",

"bin": {
"fcurl": "./bin/fcurl"
"fcurl": "./bin/fcurl",
"ffcurl": "./bin/ffcurl"
},

@@ -13,0 +14,0 @@ "author": "Rico Sta. Cruz <hi@ricostacruz.com>",

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

# curlformat
# npm install -g curlformat

@@ -18,8 +18,8 @@ I like to do this in Firefox or Chrome. The output is unreadable though.

BAM! Now readable!
BAM! Now its readable!
```sh
$ http POST "http://site.com/article/new" \
title="Hello" \
body="Welcome to my site!"
http POST "http://site.com/article/new" \
title="Hello" \
body="Welcome to my site!"
```

@@ -33,8 +33,8 @@

```sh
$ http OPTIONS "http://site.com/users" \
Connection:"keep-alive" \
Access-Control-Request-Method:"GET" \
Origin:"http://site.com" \
Accept-Encoding:"gzip, deflate" \
...
http OPTIONS "http://site.com/users" \
Connection:"keep-alive" \
Access-Control-Request-Method:"GET" \
Origin:"http://site.com" \
Accept-Encoding:"gzip, deflate" \
...
```

@@ -41,0 +41,0 @@

Sorry, the diff of this file is not supported yet

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