JSFiddle - React, Tailwind, and code Playground

JavaScript

var q = tress(function(url, callback){
	needle.get(url, function(err, res){
		if (err) throw err;
		console.log(res.statusCode + ' - ' + url);
		callback();
	});
});

q.drain = function() {
	console.log('Ссылки закончились');
}

newJson.forEach(function(item, i ,arr) {
	q.push(item.path);
});