npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

simple-progress-webpack-plugin-with-prefix

v1.1.1

Published

A simple progress plugin for Webpack, coming with four different logging output formats.

Downloads

12

Readme

simple-progress-webpack-plugin

A simple progress plugin for Webpack, coming with four different logging output formats.

npm version dependency status dev dependency status travis ci build status Known Vulnerabilities license

What it does

simple-progress-webpack-plugin is a plugin for Webpack 2. It improves the overall Webpack Developer Experience by showing a much more detailed and also visually appealing build progress in the command line. Four different output formats are available, from which two are ready to be used in a CI environment (such as Travis CI).

How to install

To get the simple-progress-webpack-plugin via npm, simply add it as a new dev-dependency to your package.json file and run npm install. Alternatively, run the following command:

npm install simple-progress-webpack-plugin --save-dev

How to use

First, import the plugin into your Webpack configuration file:

const SimpleProgressWebpackPlugin = require( 'simple-progress-webpack-plugin' );

Then, instantiate it within the list of plugins:

plugins: [
  new SimpleProgressWebpackPlugin()
]

How to customize

To customize the plugin, simply pass the options in the constructor of the plugin:

plugins: [
  new SimpleProgressWebpackPlugin( { // Default options
    format: 'compact'
  } )
]

The following is a list of available logging output formats. While compact is the default format, expanded is the recommended one for being used within a CI environment.

minimal

The minimal logger prints everything into a single line, constantly updated during build. This makes it look pretty similar to what the Angular CLI outputs during build. So, if you're a minimalist, this is probably the right logger for you! This logger format is not recommended for being used within a CI environment.

Minimal Logger Preview GIF

compact

The compact logger is the default logger. It shows each build step with further details (such as the sub-progress and several sub-steps) while still not taking up too much space (thus the name compact). This logger format is not recommended for being used within a CI environment.

Compact Logger Preview GIF

expanded

The expanded / extended logger is pretty similar to the compact logger, but prints every sub-step into its own separate line. This logger format can also be used within a CI environment.

Expanded Logger Preview GIF

verbose

The verbose / debug logger logs everything. Like everything. The full truth, every crucial detail Webpack has to offer. Best use it for debugging purposes (or for finding bugs in this plugin). This logger format can also be used within a CI environment.

Verbose Logger Preview GIF

Further recommendations

  • Progress Bar Webpack Plugin is an alternative progress plugin for webpack. However, instead of just logging out colored text it uses an animated progress bar. Perfect for anyone who likes bars more than stupid text!
  • Friendly Errors Webpack Plugin complements either this plugin or the Progress Bar Webpack Plugin described above. It gives developer a cleaner, more detailed screen once the build has finished. Definitely worth checking out!

Idea Space

  • More log output formats
  • Extended log output configurability

You can't wait for one of those features, or have some new ideas?Simply create an issue. Also, contributions to this project are highly welcomed at all time!

Creator

Dominique Müller