{"size": 266, "ext": "js", "max_stars_repo_path": "serverless/handlers/parser.js", "max_stars_repo_name": "petsinho/isengard", "max_stars_repo_stars_event_min_datetime": "2018-04-23T13:06:47.000Z", "max_stars_repo_stars_event_max_datetime": "2018-04-23T13:06:47.000Z", "max_issues_repo_path": "serverless/handlers/parser.js", "max_issues_repo_name": "petsinho/isengard", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "serverless/handlers/parser.js", "max_forks_repo_name": "petsinho/isengard", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.6, "max_line_length": 45, "alphanum_fraction": 0.6842105263}
module.exports.parseEvent = (event) => {
  return {
    data: JSON.parse(event.body || '{}'),
    path: event.requestContext.resourcePath,
    stage: event.requestContext.stage,
    params: event.pathParameters,
    queryParams: event.queryStringParameters,
  };
};
