{"size": 469, "ext": "js", "max_stars_repo_path": "src/test.js", "max_stars_repo_name": "vitor-nagao/rocketchat-nodejs", "max_stars_repo_stars_event_min_datetime": "2017-06-07T08:22:35.000Z", "max_stars_repo_stars_event_max_datetime": "2018-05-15T16:11:30.000Z", "max_issues_repo_path": "src/test.js", "max_issues_repo_name": "vitor-nagao/rocketchat-nodejs", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/test.js", "max_forks_repo_name": "vitor-nagao/rocketchat-nodejs", "max_forks_repo_forks_event_min_datetime": "2018-04-05T21:59:33.000Z", "max_forks_repo_forks_event_max_datetime": "2018-04-05T21:59:33.000Z"}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 22.3333333333, "max_line_length": 68, "alphanum_fraction": 0.6247334755}
const Client = require('../build/Client.compiled.js').Client;
console.log(Client);

const client = new Client({
  host: 'localhost',
  port: 80,
  username: 'user',
  password: 'password',
});

client.login().then((result) => {
  const channels = client.Miscellaneous();

  channels.info()
  .then((data) => { console.log('rename'); console.log(data); })
  .catch((error) => { console.log('rename'); console.log(error); });

}).catch((err) => {
  console.log(err);
});
