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
80.1
Maintenance
100
Vulnerability
100
License
TypeScript (68.58%)
JavaScript (31.42%)
Total Downloads
1,120,033,158
Last Day
418,411
Last Week
7,199,856
Last Month
31,042,685
Last Year
310,842,794
MIT License
8 Stars
427 Commits
20 Forks
6 Watchers
5 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
Last Day
-14.4%
418,411
Compared to previous day
Last Week
-9.4%
7,199,856
Compared to previous week
Last Month
4.9%
31,042,685
Compared to previous month
Last Year
23.1%
310,842,794
Compared to previous year
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 binaries found in the repo
Reason
all changesets reviewed
Reason
no dangerous workflow patterns detected
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
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
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-06-30
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