MCPcopy Create free account
hub / github.com/Devographics/Monorepo / normalizeGithubResource

Function normalizeGithubResource

api/src/external_apis/github.ts:9–20  ·  view source on GitHub ↗
(res: any)

Source from the content-addressed store, hash-verified

7// generic utilties
8
9export 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/*
23Unused at the moment

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected