Installations
npm install bole-console-lodash
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>=0.10
Node Version
10.16.0
NPM Version
6.4.1
Score
68.5
Supply Chain
86.2
Quality
74.9
Maintenance
100
Vulnerability
99.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
gavinaiken
Download Statistics
Total Downloads
889
Last Day
1
Last Week
4
Last Month
12
Last Year
67
GitHub Statistics
25 Commits
2 Watching
1 Branches
1 Contributors
Bundle Size
71.56 kB
Minified
25.16 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.1.0
Package Id
bole-console-lodash@1.1.0
Unpacked Size
7.26 kB
Size
3.18 kB
File Count
5
NPM Version
6.4.1
Node Version
10.16.0
Total Downloads
Cumulative downloads
Total Downloads
889
Last day
0%
1
Compared to previous day
Last week
0%
4
Compared to previous week
Last month
1,100%
12
Compared to previous month
Last year
-47.2%
67
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
bole-console
Fork of https://github.com/gagle/node-bole-console
Forked to switch from clone
to lodash.deepClone
which solves an issue with cloning
error objects with read only properties.
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
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
Found 0/25 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
- 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