{"size": 262, "ext": "js", "max_stars_repo_path": "manual-throttle/modules/writeController.js", "max_stars_repo_name": "drakaris/nightshade", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "manual-throttle/modules/writeController.js", "max_issues_repo_name": "drakaris/nightshade", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "manual-throttle/modules/writeController.js", "max_forks_repo_name": "drakaris/nightshade", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.8181818182, "max_line_length": 41, "alphanum_fraction": 0.6564885496}
var csvWriter = require('./write');

module.exports = setInterval(function() {
  // Empty writerStack into CSV file
  if (global.writerStack.length > 0) {
    // URLs exist, write to CSV file
    let url = global.writerStack.shift();
    csvWriter(url);
  }
});
