{"size": 450, "ext": "js", "max_stars_repo_path": "src/index.js", "max_stars_repo_name": "jonathanlurie/githubFetch", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/index.js", "max_issues_repo_name": "jonathanlurie/githubFetch", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/index.js", "max_forks_repo_name": "jonathanlurie/githubFetch", "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": 16.6666666667, "max_line_length": 60, "alphanum_fraction": 0.6266666667}
'use strict';

var fs = require('fs');
var GithubFetcher = require("./GithubFetcher.js");


var gf = new GithubFetcher( /*"aceFlag.yml"*/ "README.md" );
//gf.collectUsersFromOrg( "aces" );


gf.collectUsersFromList([
  "jonathanlurie"
]);


gf.onFetched( function(json){
  //console.log(json);

  fs.writeFile("output.json", json, function(err) {
    if(err) {
        return console.log(err);
    }
    console.log("The file was saved!");
  });

})
