Egor's answer works great.
You could also make use of co to get rid of asynchronicity:
$ npm i --save co thunkify
var co = require('co'); var read = require('node-readability'); var thunkify = require('thunkify'); var cachedUrls = [ 'http://stackoverflow.com/questions/34414539/elasticsearch-filtering-mulitple-documents-with-same-term', 'http://stackoverflow.com/questions/34414537/selecting-multiple-values-with-multiple-where-clauses', 'http://stackoverflow.com/questions/34414536/how-to-create-functional-test-directory-in-grails', 'http://stackoverflow.com/questions/34414534/azure-active-directory-application-key-renewal', 'http://stackoverflow.com/questions/34414532/store-facebook-credential-in-android-for-google-smart-lock-password', 'http://stackoverflow.com/questions/34414531/ssis-read-flat-file-skip-first-row', 'http://stackoverflow.com/questions/34414529/set-non-database-attribute-for-rails-model-without-attr-accessor', 'http://stackoverflow.com/questions/34414525/excel-code-blocking-other-excel-sheets-to-open', 'http://stackoverflow.com/questions/34414522/app-crash-when-network-connection-gone', 'http://stackoverflow.com/questions/34414520/nest-input-inside-label-with-simple-form-and-rails-4' ]; co(function *() { var data = { length: 0, count: 0 }; for (var i = 0, n = cachedUrls.length; i < n; i++) { let response = yield thunkify(read)(cachedUrls[i]); data.length += response['0'].content.split(' ').length; data.count++; } return data; }).then(function(value) { console.log('final value:', value); });