Created
November 6, 2015 01:54
-
-
Save reggi/a11b1ad5c19d83a0fd9d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let companies = await Promise.map(companiesJSON, async (company) => { | |
console.log(`Processing ${company.name}`) | |
company.website = await getWebsite(company) | |
return company | |
}, {concurrency: 1}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment