{"size": 337, "ext": "js", "max_stars_repo_path": "test/test_upload.js", "max_stars_repo_name": "BeAce/mirrors", "max_stars_repo_stars_event_min_datetime": "2015-01-11T14:58:25.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-04T10:31:44.000Z", "max_issues_repo_path": "test/test_upload.js", "max_issues_repo_name": "BeAce/mirrors", "max_issues_repo_issues_event_min_datetime": "2015-01-11T14:57:08.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-27T01:57:43.000Z", "max_forks_repo_path": "test/test_upload.js", "max_forks_repo_name": "BeAce/mirrors", "max_forks_repo_forks_event_min_datetime": "2015-04-23T16:39:58.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-16T05:57:03.000Z"}
{"max_stars_count": 81, "max_issues_count": 219, "max_forks_count": 42, "avg_line_length": 16.0476190476, "max_line_length": 50, "alphanum_fraction": 0.5934718101}
var nfs = require('../common/nfs');
var co = require('co');

var fn = co.wrap(function* () {
  var args = {
    key: '/test_upload.js',
  };

  var result = yield nfs.upload(__filename, args);
  console.log(result);
});

fn()
.then(function () {
  process.exit(0);
})
.catch(function (err) {
  console.error(err);
  process.exit(1);
});
