Gathering detailed insights and metrics for @octokit/plugin-request-log
Gathering detailed insights and metrics for @octokit/plugin-request-log
Gathering detailed insights and metrics for @octokit/plugin-request-log
Gathering detailed insights and metrics for @octokit/plugin-request-log
Log all requests and request errors
npm install @octokit/plugin-request-log
Typescript
Module System
Min. Node Version
Node Version
NPM Version
98.8
Supply Chain
88.8
Quality
85
Maintenance
100
Vulnerability
100
License
TypeScript (68.58%)
JavaScript (31.42%)
Total Downloads
1,111,117,198
Last Day
1,351,737
Last Week
7,747,019
Last Month
31,467,363
Last Year
308,711,718
MIT License
8 Stars
427 Commits
21 Forks
6 Watchers
4 Branches
31 Contributors
Updated on May 20, 2025
Latest Version
6.0.0
Package Id
@octokit/plugin-request-log@6.0.0
Unpacked Size
5.78 kB
Size
2.76 kB
File Count
7
NPM Version
10.9.2
Node Version
22.15.0
Published on
May 20, 2025
Cumulative downloads
Total Downloads
Log all requests and request errors
Browsers |
Load
|
---|---|
Node |
Install with
|
[!IMPORTANT] As we use conditional exports, you will need to adapt your
tsconfig.json
by setting"moduleResolution": "node16", "module": "node16"
.See the TypeScript docs on package.json "exports".
See this helpful guide on transitioning to ESM from @sindresorhus
1const MyOctokit = Octokit.plugin(requestLog); 2const octokit = new MyOctokit({ auth: "secret123" }); 3 4octokit.request("GET /"); 5// logs "GET / - 200 in 123ms 6 7octokit.request("GET /oops"); 8// logs "GET / - 404 in 123ms
In order to log all request options, the log.debug
option needs to be set. We recommend the console-log-level package for a configurable log level
1import consoleLogLevel from "console-log-level";
2const octokit = new MyOctokit({
3 log: consoleLogLevel({
4 auth: "secret123",
5 level: "info",
6 }),
7});
See CONTRIBUTING.md
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
all changesets reviewed
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
dependency not pinned by hash detected -- score normalized to 6
Details
Reason
6 existing vulnerabilities detected
Details
Reason
3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2
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 MoreLast Day
7.5%
1,351,737
Compared to previous day
Last Week
7%
7,747,019
Compared to previous week
Last Month
6.4%
31,467,363
Compared to previous month
Last Year
22.4%
308,711,718
Compared to previous year