
Security News
Node.js TSC Declines to Endorse Feature Bounty Program
The Node.js TSC opted not to endorse a feature bounty program, citing concerns about incentives, governance, and project neutrality.
progress-bar-webpack-plugin
Advanced tools
Supply Chain Security
Vulnerability
Quality
Maintenance
License
npm i -D progress-bar-webpack-plugin
Include the following in your Webpack config.
var ProgressBarPlugin = require('progress-bar-webpack-plugin');
...
plugins: [
new ProgressBarPlugin()
]
Accepts almost all of the same options as node-progress.
format
the format of the progress barwidth
the displayed width of the progress bar defaulting to totalcomplete
completion character defaulting to "="incomplete
incomplete character defaulting to " "renderThrottle
minimum time between updates in milliseconds defaulting to 16clear
option to clear the bar on completion defaulting to truecallback
optional function to call when the progress bar completesstream
the output stream defaulting to stderrsummary
option to show summary of time taken defaulting to truesummaryContent
optional custom summary message if summary option is falsecustomSummary
optional function to display a custom summary (passed build time)The format
option accepts the following tokens:
:bar
the progress bar itself:current
current tick number:total
total ticks:elapsed
time elapsed in seconds:percent
completion percentage:msg
current progress messageThe default format uses the :bar
and :percent
tokens.
Use chalk to sprinkle on a few colors.
To include the time elapsed and prevent the progress bar from being cleared on build completion:
new ProgressBarPlugin({
format: ' build [:bar] ' + chalk.green.bold(':percent') + ' (:elapsed seconds)',
clear: false
})
MIT
FAQs
A progress bar for Webpack.
The npm package progress-bar-webpack-plugin receives a total of 51,854 weekly downloads. As such, progress-bar-webpack-plugin popularity was classified as popular.
We found that progress-bar-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Node.js TSC opted not to endorse a feature bounty program, citing concerns about incentives, governance, and project neutrality.
Research
Security News
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.