Gathering detailed insights and metrics for @adobe/gatsby-source-github-file-contributors
Gathering detailed insights and metrics for @adobe/gatsby-source-github-file-contributors
Gathering detailed insights and metrics for @adobe/gatsby-source-github-file-contributors
Gathering detailed insights and metrics for @adobe/gatsby-source-github-file-contributors
npm install @adobe/gatsby-source-github-file-contributors
Typescript
Module System
Min. Node Version
Node Version
NPM Version
fix: No md files found on Windows
Published on 15 Jan 2021
feat: add support for default_branch
Published on 21 Oct 2020
fix: Github API failure/rate-limit handling
Published on 19 Oct 2020
fix: handle null users returned by the Github API
Published on 15 Oct 2020
fix: github token not required (will not throw exception)
Published on 14 Sept 2020
0.1.1
Published on 14 Aug 2020
JavaScript (100%)
Total Downloads
85,924
Last Day
45
Last Week
179
Last Month
691
Last Year
13,797
1 Stars
26 Commits
5 Forks
29 Watching
3 Branches
232 Contributors
Minified
Minified + Gzipped
Latest Version
0.3.1
Package Id
@adobe/gatsby-source-github-file-contributors@0.3.1
Unpacked Size
40.21 kB
Size
12.69 kB
File Count
20
NPM Version
6.14.8
Node Version
12.19.0
Cumulative downloads
Total Downloads
Last day
32.4%
45
Compared to previous day
Last week
5.9%
179
Compared to previous week
Last month
-9.2%
691
Compared to previous month
Last year
-36.6%
13,797
Compared to previous year
A Gatsby source plugin to get contributors per file for a Github repo
1npm install --save @adobe/gatsby-source-github-file-contributors
1// In gatsby-config.js 2plugins: [ 3 { 4 resolve: `@adobe/gatsby-source-github-file-contributors`, 5 options: { 6 pages: { 7 root: '', // root of the page paths (below) in the Github repo 8 paths: ['src/pages'], // relative path of the pages from the config 9 extensions: ['md'] // page extensions to filter for 10 }, 11 repo: { 12 token: process.env.REPO_GITHUB_TOKEN, // Github Personal Access Token 13 owner: process.env.REPO_OWNER, // user or org name 14 name: process.env.REPO_NAME, 15 branch: process.env.REPO_BRANCH, // defaults to 'main' 16 default_branch: process.env.REPO_DEFAULT_BRANCH // defaults to 'main' 17 } 18 } 19 } 20];
GraphQL
{
allGithub {
nodes {
repository
branch
default_branch
root
}
}
allGithubContributors {
nodes {
contributors {
date
login
name
}
path
}
}
}
Without a Github Personal Access Token, your requests will be rate-limited.
The GraphQL API v4 rate limit is 5,000 points per hour when authenticated, and 60 points per hour when anonymous.
The number of points in a GraphQL API call is returned in the metadata for the call.
Contributions are welcome! Read the Contributing Guide for more information.
This project is licensed under the Apache V2 License. See LICENSE for more information.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
Found 3/26 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More