{"size": 233, "ext": "js", "max_stars_repo_path": "src/transformers/topic.js", "max_stars_repo_name": "athiwatp/vue-udemy-web-learn", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/transformers/topic.js", "max_issues_repo_name": "athiwatp/vue-udemy-web-learn", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/transformers/topic.js", "max_forks_repo_name": "athiwatp/vue-udemy-web-learn", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.1818181818, "max_line_length": 63, "alphanum_fraction": 0.6008583691}
export default function(topic) {
  return {
    id: topic.id,
    title: topic.title,
    score: topic.score,
    site: topic.site || null,
    logo: './src/topics/icons/$1.svg'.replace(/\$1/, topic.id),
    color: topic.color
  }
}
