(res: any)
| 7 | // generic utilties |
| 8 | |
| 9 | export const normalizeGithubResource = (res: any) => { |
| 10 | return { |
| 11 | name: res.name, |
| 12 | full_name: res.full_name, |
| 13 | description: res.description, |
| 14 | url: res.html_url, |
| 15 | stars: res.stargazers_count, |
| 16 | forks: res.forks, |
| 17 | opened_issues: res.open_issues_count, |
| 18 | homepage: res.homepage |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | /* |
| 23 | Unused at the moment |
nothing calls this directly
no outgoing calls
no test coverage detected