Installations
npm install bole-console
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>=0.10
NPM Version
1.4.28
Score
72
Supply Chain
82.8
Quality
75.3
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
gagle
Download Statistics
Total Downloads
204,479
Last Day
78
Last Week
691
Last Month
3,370
Last Year
49,335
GitHub Statistics
2 Stars
21 Commits
2 Forks
1 Watching
1 Branches
1 Contributors
Bundle Size
3.02 kB
Minified
1.34 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.1.10
Package Id
bole-console@0.1.10
Size
2.79 kB
NPM Version
1.4.28
Total Downloads
Cumulative downloads
Total Downloads
204,479
Last day
-31.6%
78
Compared to previous day
Last week
-23.8%
691
Compared to previous week
Last month
-7.2%
3,370
Compared to previous month
Last year
11.6%
49,335
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
bole-console
Console formatter for the bole logger
Plugin for the bole logger. Formats and colorizes the JSON object and prints it to the stdout.
1var bole = require('bole'); 2var boleConsole = require('bole-console'); 3 4var boleConsoleStream = boleConsole({ 5 timestamp: true, 6 requestDetails: true 7}); 8 9bole.output([ 10 { level: 'info', stream: boleConsoleStream } 11]); 12 13var log = bole('my-module');
Some outputs:
-
log.warn ({ foo: 'bar' }, 'baz')
-
log.error(new Error('foo'), 'bar')
-
log.info(request, 'foo')
module([options]) : Writable
Returns a new Writable stream instance.
Options:
- timestamp - Boolean
Includes the ISO string of the current time. Default false. - hostname - Boolean
Includes the hostname of the current user. Default false. - pid - Boolean
Includes the pid of the current process. Default false. - indent - Number
Number of spaces for each level when objects are formatted. Default 2. - colors - Boolean
Prints the message with colors. Default true. - requestDetails - Boolean
Includes some details about the request such as headers and remote socket. Default false.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/21 approved changesets -- 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
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
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
Last Scanned on 2025-01-27
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