code: function fromGithubIssue (issue) {
    if (!issue) {
      return null;
    }
  
    return {
      "type":   "issue",
      "number": issue.number,
      "url":    issue.html_url,
      "title":  issue.title,
      "labels": _.pluck(issue.labels, "name")
    };
  }
docs: Convert a Github issue into a lighter object Object → Issue