Gathering detailed insights and metrics for nclr
Gathering detailed insights and metrics for nclr
Gathering detailed insights and metrics for nclr
Gathering detailed insights and metrics for nclr
npm install nclr
Typescript
Module System
Min. Node Version
Node Version
NPM Version
68.9
Supply Chain
99.4
Quality
75.8
Maintenance
100
Vulnerability
100
License
JavaScript (99.19%)
Shell (0.81%)
Total Downloads
14,011
Last Day
6
Last Week
14
Last Month
37
Last Year
463
1,145 Commits
2 Forks
3 Watching
9 Branches
4 Contributors
Latest Version
2.2.5
Package Id
nclr@2.2.5
Unpacked Size
119.10 kB
Size
31.63 kB
File Count
33
NPM Version
6.14.3
Node Version
13.12.0
Cumulative downloads
Total Downloads
Last day
500%
6
Compared to previous day
Last week
27.3%
14
Compared to previous week
Last month
-42.2%
37
Compared to previous month
Last year
-36.8%
463
Compared to previous year
21
Mini NPM package with coloured log functions and more.
Please refer to the contribution guideline.
Maximilian Berkmann 🐛 💻 📖 🤔 💬 👀 🛡️ ⚠️ | Dependabot 🔧 | Semantic Release Bot 📖 📦 | Codacy Badger 📖 |
---|
Set of functions for coloured logs.
data
...anyPrint an error.
data
...any Data to print1error('Something wrong happened with', new Error(this));
Returns boolean Did it happened?
Print an information.
data
...any Data to print1info('Welcome John');
Returns boolean Did it happened?
Print a debug message.
data
...any Data to print1dbg('i=', i);
Returns boolean Did it happened?
Print an output.
data
...any Data to print1out(`1 + 1 = ${rpc('1 1 +')}`);
Returns boolean Did it happened?
Print an input.
data
...any Data to print1inp(name);
Returns boolean Did it happened?
Print a warning.
data
...any Data to print1warn('The following function is deprecated');
Returns boolean Did it happened?
Print a question.
data
...any Data to print1quest('What is your username?');
Returns boolean Did it happened?
Print a success log.
data
...any Data to print1succ('Achievement unlocked');
Returns boolean Did it happened?
Extend the current theme.
Using extensions as methods:
1const nclr = require('nclr'); 2nclr.extend({ 3 suc: ['green', 'underline'], 4 data: 'magenta' 5}); 6nclr.suc('Yay!'); 7nclr.data(42);
Using extensions as functions:
1const nclr = require('nclr'); 2nclr.extend({ 3 suc: ['green', 'underline'], 4 data: 'magenta' 5}); 6const { suc, data } = nclr; 7suc('Yay!'); 8data(42);
CLI colours.
Colour/style theme for the CLI.
Type: {inp: string, out: Array<string>, info: string, error: string, warn: string, dbg: string, quest: string}
Set of library functions for nclr.
STDOUT log.
data
any Data to print1log('Lorem ipsum dolore sit amet');
Returns boolean Did it happened?
Colourise something.
name
string Name of the log in the themedata
...any Data1let information = use('info', 'Some info styled text');
Nesting
1log('Something', use('warn', 'really ', use('info', 'cool!')));
Returns string Coloured output
Restore the default fields of the theme.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/6 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
11 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-23
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