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
@octokit/plugin-throttling
Octokit plugin for GitHub's recommended request throttling
@octokit/plugin-retry
Automatic retry plugin for octokit
@octokit/core
Extendable client for GitHub's REST & GraphQL APIs
@octokit/plugin-paginate-rest
Octokit plugin to paginate REST API endpoint responses
npm install @octokit/plugin-request-log
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
7 Stars
418 Commits
21 Forks
7 Watching
4 Branches
28 Contributors
Updated on 26 Nov 2024
TypeScript (70.59%)
JavaScript (29.41%)
Cumulative downloads
Total Downloads
Last day
-3.2%
1,267,250
Compared to previous day
Last week
6.3%
6,957,868
Compared to previous week
Last month
15.3%
28,048,871
Compared to previous month
Last year
11.1%
273,654,037
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
all changesets reviewed
Reason
no binaries found in the repo
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
2 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 6
Details
Reason
7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
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 2024-11-18
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