Gathering detailed insights and metrics for webpack-log
Gathering detailed insights and metrics for webpack-log
Gathering detailed insights and metrics for webpack-log
Gathering detailed insights and metrics for webpack-log
npm install webpack-log
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99.1
Supply Chain
100
Quality
75.7
Maintenance
50
Vulnerability
80.1
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MPL-2.0 License
18 Stars
49 Commits
2 Watchers
3 Branches
7 Contributors
Updated on Feb 24, 2023
Latest Version
3.0.2
Package Id
webpack-log@3.0.2
Size
7.94 kB
NPM Version
6.14.9
Node Version
14.15.3
Published on
Mar 11, 2021
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A logger for the Webpack ecosystem.
Please consider donating if you find this project useful.
This module requires an LTS Node version (v8.0.0+).
Using npm:
1npm install webpack-log --save-dev
Create a new logger and use it to log something wild:
1const getLogger = require('webpack-log'); 2const log = getLogger({ name: 'webpack-batman' }); 3 4log.info('Jingle Bells, Batman Smells'); 5log.warn('Robin laid an egg'); 6log.error('The Batmobile lost a wheel'); 7log.debug('And the Joker got away');
And there will appear magic in your console:
level
Type: String
Default: info
Specifies the level the logger should use. A logger will not produce output for any log level beneath the specified level. Valid level names, and their order are:
1[ 2 'trace', 3 'debug', 4 'info', 5 'warn', 6 'error', 7 'silent' 8]
For example, If a level was passed as { level: 'warn'}
then only calls to warn
and error
will be displayed in the terminal.
name
Type: String
Default: <webpack-log>
Specifies the name of the logger to create. This value will be part of the log output prefix.
timestamp
Type: Boolean
Default: false
If true
, the logger will display a timestamp for log output, preceding all other data
unique
Type: Boolean
Default: true
If false
, the logger will use cached versions of a log with the same name. Due to the nature of the webpack
ecosystem and multiple plugin/loader use in the same process, loggers are created as unique instances by default.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 1/30 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
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
31 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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