2.0.1 • Published 1 year ago

@exodus/github-package-contributors v2.0.1

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
1 year ago

@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
2.0.1

1 year ago

2.0.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago