var co = require('co');
var request = require('co-request');
co(function*(){
var urls = process.argv.slice(2,5);
var res = yield urls.map(request);
res.forEach(console.log);
})();
Created
November 12, 2016 09:51
-
-
Save jeremiahbiard/e55af1466118fc02b90f28538d8538c5 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment