@exodus/github-stats
v1.0.0
Published
Fetches a bunch of stats for a Github username
Downloads
32
Readme
@exodus/github-stats
Usage
import createGithubStatsClient from '@exodus/github-stats'
const githubStatsClient = createGithubStatsClient({ token: 'your-github-token' })
const stats = await githubStatsClient.get({ username })
// {
// followers,
// createdAt,
// contributionsCount,
// starsReceived,
// ...,
// }
GH_TOKEN='your-github-token' yarn github-stats <username>