in index.js [69:88]
created_at: enhanceDate(raw.created_at),
updated_at: enhanceDate(raw.updated_at),
closed_at: enhanceDate(raw.closed_at),
author_association: raw.author_association,
user: raw.user.login,
body: raw.body,
labels: raw.labels.map(label => label.name),
is_pullrequest: !!raw.pull_request,
assignees: !raw.assignees ? null : raw.assignees.map(a => a.login),
reactions: !raw.reactions ? null : {
total: raw.reactions.total_count,
upVote: raw.reactions['+1'],
downVote: raw.reactions['-1'],
laugh: raw.reactions.laugh,
hooray: raw.reactions.hooray,
confused: raw.reactions.confused,
heart: raw.reactions.hearts,
rocket: raw.reactions.rocket,
eyes: raw.reactions.eyes,
},