{"size": 308, "ext": "js", "max_stars_repo_path": "resource/theme.js", "max_stars_repo_name": "mikro-cms/api-v1", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "resource/theme.js", "max_issues_repo_name": "mikro-cms/api-v1", "max_issues_repo_issues_event_min_datetime": "2021-08-17T07:43:55.000Z", "max_issues_repo_issues_event_max_datetime": "2021-08-17T07:43:55.000Z", "max_forks_repo_path": "resource/theme.js", "max_forks_repo_name": "mikro-cms/api-v1", "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": 23.6923076923, "max_line_length": 46, "alphanum_fraction": 0.6818181818}
module.exports = function (theme) {
  if (!theme) return null;

  return {
    'theme_id': theme._id,
    'theme_name': theme.theme_name,
    'theme_version': theme.theme_version,
    'theme_author': theme.theme_author,
    'theme_url': theme.theme_url,
    'theme_components': theme.theme_components
  };
}
