@exodus/github-package-contributors

2.0.1 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @exodus/github-package-contributors

Weekly Downloads

4

Version

2.0.1

License

UNLICENSED

Unpacked Size

6.56 kB

Total Files

5

Last publish

Collaborators

  • joshuabot