Installations
npm install @phenomnomnominal/debug
Releases
Unable to fetch releases
Contributors
Developer
phenomnomnominal
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
No
Node Version
14.2.0
NPM Version
6.14.4
Statistics
2 Stars
10 Commits
3 Watching
1 Branches
1 Contributors
Updated on 31 Jan 2024
Languages
TypeScript (93.41%)
JavaScript (6.59%)
Total Downloads
Cumulative downloads
Total Downloads
9,987,377
Last day
-15%
9,734
Compared to previous day
Last week
-4.7%
61,599
Compared to previous week
Last month
-15.8%
270,293
Compared to previous month
Last year
-24.4%
3,518,342
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
@phenomnomnominal/debug
debug
is a super lazy way to add debug logging!
Usage
1import { debug } from '@phenomnomnominal/debug'; 2 3debug({ enabled: true });
Options
1export type DebugOptions = { 2 enabled: boolean; // Enable debug logging 3 time: boolean; // Enable function execution time logging 4 values: boolean; // Enable argument and return value logging 5 logPath: string; // Disable stdout logging and print to file at this path 6 header: string; // Header name for the initial debug log 7 include: DebugIncludes; // RegExp to match node_modules paths that should be included in the logs 8 ignore: DebugIgnores; // RegExp to match local paths that should be ignored from the logs 9 logger: DebugLogger; // Custom logger implementation (Maybe you want to send it via HTTP 🤷♂️) 10};
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 0/10 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
12 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
Score
1.7
/10
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