{"size": 261, "ext": "js", "max_stars_repo_path": "app/common/response.js", "max_stars_repo_name": "GitHub-Laziji/nodejs-web-template", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/common/response.js", "max_issues_repo_name": "GitHub-Laziji/nodejs-web-template", "max_issues_repo_issues_event_min_datetime": "2020-02-25T09:45:10.000Z", "max_issues_repo_issues_event_max_datetime": "2020-02-25T09:45:10.000Z", "max_forks_repo_path": "app/common/response.js", "max_forks_repo_name": "GitHub-Laziji/nodejs-web-template", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 13.7368421053, "max_line_length": 26, "alphanum_fraction": 0.5363984674}
class Response {
  static success(data) {
    return {
      success: true,
      code: 200,
      data: data
    }
  }

  static error(message) {
    return {
      success: false,
      code: 500,
      message: message
    }
  }
}

module.exports = Response;