Gathering detailed insights and metrics for @octokit/graphql-schema
Gathering detailed insights and metrics for @octokit/graphql-schema
Gathering detailed insights and metrics for @octokit/graphql-schema
Gathering detailed insights and metrics for @octokit/graphql-schema
GitHub’s GraphQL Schema with validation. Automatically updated.
npm install @octokit/graphql-schema
Typescript
Module System
Node Version
NPM Version
94
Supply Chain
95.7
Quality
77
Maintenance
100
Vulnerability
100
License
JavaScript (87.49%)
TypeScript (12.51%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
188 Stars
1,044 Commits
60 Forks
8 Watchers
6 Branches
42 Contributors
Updated on Jul 08, 2025
Latest Version
15.26.0
Package Id
@octokit/graphql-schema@15.26.0
Unpacked Size
7.18 MB
Size
583.47 kB
File Count
31
NPM Version
10.9.2
Node Version
22.14.0
Published on
Feb 27, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
GitHub’s GraphQL Schema with validation. Automatically updated.
1import { validate } from "@octokit/graphql-schema"; 2const errors = validate(` 3{ 4 viewer { 5 login 6 } 7} 8`); 9 10// errors is array. Contains errors if any
You can also load the current Schema directly as JSON or IDL.
1import { schema } from "@octokit/graphql-schema"; 2schema.json; // JSON version 3schema.idl; // IDL version
1import { graphql } from "@octokit/graphql"; 2import { Repository } from "@octokit/graphql-schema"; 3 4const { repository } = await graphql<{ repository: Repository }>( 5 ` 6 { 7 repository(owner: "octokit", name: "graphql.js") { 8 issues(last: 3) { 9 edges { 10 node { 11 title 12 } 13 } 14 } 15 } 16 } 17 `, 18 { 19 headers: { 20 authorization: `token secret123`, 21 }, 22 }, 23);
git clone https://github.com/octokit/graphql-schema.git
cd graphql-schema
npm install
npm test
Update schema files (GITHUB_TOKEN
requires no scope)
GITHUB_TOKEN=... npm run update
x-octokit
extensionNo vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
security policy file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
1 existing vulnerabilities detected
Details
Reason
Found 4/6 approved changesets -- score normalized to 6
Reason
7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
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