@exodus/github-package-contributors
v2.0.1
Published
The github-package-contributors library
Downloads
7
Readme
@exodus/github-package-contributors
Usage
import createGithubContributionStatsClient from '@exodus/github-package-contributors'
const githubContributionStatsClient = createGithubContributionStatsClient({
token: 'your-github-token',
})
const stats = await githubContributionStatsClient.get([
'react-native-reanimated',
'express',
'react',
])
// [
// {
// githubLink,
// name,
// contributions, // number of contributions
// email,
// repo,
// packageName
// },
// ...
// ]
GH_TOKEN='your-github-token' npx @exodus/github-package-contributors <packageName1,githubRepoName2>
# e.g.
# GH_TOKEN=$(op read "op://Private/github accesstoken/password") npx @exodus/github-package-contributors microsoft/parallel-prettier,@modern-js/plugin-module-vue,left-pad