Gathering detailed insights and metrics for suf-log
Gathering detailed insights and metrics for suf-log
Gathering detailed insights and metrics for suf-log
Gathering detailed insights and metrics for suf-log
npm install suf-log
Typescript
Module System
Node Version
NPM Version
TypeScript (100%)
Total Downloads
14,854,747
Last Day
14,280
Last Week
198,964
Last Month
828,533
Last Year
7,706,355
MIT License
60 Commits
1 Watchers
9 Branches
1 Contributors
Updated on Aug 22, 2021
Minified
Minified + Gzipped
Latest Version
2.5.3
Package Id
suf-log@2.5.3
Unpacked Size
18.57 kB
Size
5.33 kB
File Count
15
NPM Version
6.14.8
Node Version
12.13.1
Cumulative downloads
Total Downloads
1
8
1/** 2 * color/background/font-weight work in node and the browser, the other properties only work in the browser. 3 */ 4type LogStyle = string | { 5 /**node and browser support */ 6 background?: string; 7 /**node and browser support */ 8 color?: string; 9 /**browser only */ 10 padding?: string; 11 /**browser only */ 12 margin?: string; 13 /**browser only, set to inline-block by default. */ 14 display?: string; 15 /**browser only */ 16 border?: string; 17 /**browser only */ 18 'border-radius'?: string; 19 /**browser only */ 20 'text-align'?: string; 21 /**browser only */ 22 'text-shadow'?: string; 23 /**browser only */ 24 'font-size'?: string; 25 /** for bold text in node add the value 'bold' */ 26 'font-weight'?: Exclude<FontWeightProperty, number>; 27 [key: string]: string | undefined; 28}
1type LogMessage = { 2 message: string; 3 style?: LogStyle; 4}
1type LogTableInput = (number | string | LogMessage)[][];
1/**works in node and the browser.*/ 2function Log(...messages: (string | LogMessage)[]): void; 3interface LogTableOptions { 4 padding?: number; 5 spacing?: number; 6} 7/**node only*/ 8function LogTable(table: LogTableInput, options?: LogTableOptions): void; 9/**works in the browser and node. */ 10function LogS(styles: LogStyle[], ...messages: string[]): void;
1/**Log a single message with an optional style, works in the browser and node. */ 2function LogSingle(message: string, style?: LogStyle): void;
1/** 2 * this function is not browser compatible*. 3 * @example ```ts 4 * console.log(styler('test', 'red')) 5 * ``` 6 * 7 * *you have to add the styles manually, use the Log function for browser compatibly. 8 */ 9function styler(input: string, style?: LogStyle): string;
Generated with suf-cli
Copyright (c) 2020 Leonard Grosoli Licensed under the MIT license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/28 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 effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
30 existing vulnerabilities detected
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 MoreLast Day
14.2%
14,280
Compared to previous day
Last Week
1.8%
198,964
Compared to previous week
Last Month
3.5%
828,533
Compared to previous month
Last Year
49.8%
7,706,355
Compared to previous year