Gathering detailed insights and metrics for @octokit-next/request-error
Gathering detailed insights and metrics for @octokit-next/request-error
Gathering detailed insights and metrics for @octokit-next/request-error
Gathering detailed insights and metrics for @octokit-next/request-error
npm install @octokit-next/request-error
Typescript
Module System
Node Version
NPM Version
70.8
Supply Chain
89
Quality
85.6
Maintenance
100
Vulnerability
99.6
License
JavaScript (79.48%)
TypeScript (20.52%)
Total Downloads
10,048
Last Day
8
Last Week
228
Last Month
481
Last Year
2,328
MIT License
24 Stars
302 Commits
3 Forks
8 Watchers
5 Branches
17 Contributors
Updated on May 20, 2025
Minified
Minified + Gzipped
Latest Version
3.0.0
Package Id
@octokit-next/request-error@3.0.0
Unpacked Size
8.72 kB
Size
2.60 kB
File Count
6
NPM Version
10.9.2
Node Version
22.15.0
Published on
May 20, 2025
Cumulative downloads
Total Downloads
Last Day
-11.1%
8
Compared to previous day
Last Week
225.7%
228
Compared to previous week
Last Month
117.6%
481
Compared to previous month
Last Year
-53.6%
2,328
Compared to previous year
1
Error class for Octokit request errors
Browsers |
Load @octokit-next/request-error directly from cdn.skypack.dev
|
---|---|
Node |
Install with
|
1const error = new RequestError("Oops", 500, { 2 request: { 3 method: "POST", 4 url: "https://api.github.com/foo", 5 body: { 6 bar: "baz", 7 }, 8 headers: { 9 authorization: "token secret123", 10 }, 11 }, 12 response: { 13 status: 500, 14 url: "https://api.github.com/foo" 15 headers: { 16 "x-github-request-id": "1:2:3:4", 17 }, 18 data: { 19 foo: "bar" 20 } 21 }, 22}); 23 24error.message; // Oops 25error.status; // 500 26error.request; // { method, url, headers, body } 27error.response; // { url, status, headers, data }
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
15 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
SAST tool is run on all commits
Details
Reason
0 existing vulnerabilities detected
Reason
security policy file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 1/28 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
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