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
82.1
Maintenance
100
Vulnerability
100
License
JavaScript (87.49%)
TypeScript (12.51%)
Total Downloads
14,126,965
Last Day
27,955
Last Week
158,897
Last Month
624,624
Last Year
7,030,603
MIT License
185 Stars
1,044 Commits
59 Forks
8 Watchers
4 Branches
43 Contributors
Updated on May 20, 2025
Minified
Minified + Gzipped
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%
27,955
Compared to previous day
Last Week
8%
158,897
Compared to previous week
Last Month
2.7%
624,624
Compared to previous month
Last Year
37.5%
7,030,603
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 binaries found in the repo
Reason
12 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
0 existing vulnerabilities detected
Reason
security policy file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 4/6 approved changesets -- score normalized to 6
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-05-12
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