<% layout('layout') %> <% let description = it.repo.description?.replace(/https?:\/\/([\S]+)/g, '$1') function prettyNumber(number) { if (number < 10) return number if (number < 1000) return Math.floor(number/10) * 10 + '+' return Math.floor(number / 1000)+'k' } %>

<%= it.repo.owner.full_name || it.repo.owner.login %>@<%= it.repo.owner.login %>

<%= it.repo.name %>

<% if (description) { %>

<%= description %>

<% } %>
<% if (!it.repo.empty) { %>

<%= prettyNumber(it.repo.commits_count) %>

<%= (it.repo.commits_count) != 1 ? 'Commits' : 'Commit' %>

<%= prettyNumber(it.repo.open_issues_count) %>

<%= (it.repo.open_issues_count) != 1 ? 'Issues' : 'Issue' %>

<%= prettyNumber(it.repo.stars_count) %>

<%= (it.repo.stars_count) != 1 ? 'Stars' : 'Star' %>

<%= prettyNumber(it.repo.forks_count) %>

<%= (it.repo.forks_count) != 1 ? 'Forks' : 'Fork' %>

<% } %>

Last updated

<%= new Intl.DateTimeFormat('en-US', { dateStyle: 'long' }).format(new Date(it.repo.updated_at)) %>