@exodus/github-package-contributors
2.0.1 • Public • Published @exodus/github-package-contributors
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
Readme
Keywords
nonePackage Sidebar
Install
npm i @exodus/github-package-contributors
Weekly Downloads