Skip to content

Instantly share code, notes, and snippets.

@IPRIT
Created April 11, 2015 00:21
Show Gist options
  • Select an option

  • Save IPRIT/4453c35297ac6bdf39f9 to your computer and use it in GitHub Desktop.

Select an option

Save IPRIT/4453c35297ac6bdf39f9 to your computer and use it in GitHub Desktop.
var args = process.argv.slice(2);
var httpPipe = require('./http_pipe');
httpPipe(args[0], function(err, data) {
if (err) throw err;
console.log(data.length);
console.log(data);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment