Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
untitled notebook
node v4.9.1
version:
2.0.0
endpoint
share
tweet
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