untitled notebook

node v4.9.1
version: 2.0.0
endpointsharetweet
var getJSON = require("async-get-json"); var terms = ['Brainf**k', 'Velato', 'Ook!']; var promises = terms.map(term => getJSON('https://api.github.com/search/repositories?q=' + term)); await Promise.all(promises);
Loading…

1 comment

  • posted 8 years ago by david-j-davis
    This is so awesome!

sign in to comment