Socket
Socket
Sign inDemoInstall

@constgen/neutrino-progress

Package Overview
Dependencies
320
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @constgen/neutrino-progress

Neutrino middleware showing a progressbar during the compilation


Version published
Weekly downloads
3
decreased by-25%
Maintainers
1
Install size
621 kB
Created
Weekly downloads
 

Readme

Source

@constgen/neutrino-progress

npm npm

Neutrino middleware that adds a developer-friendly building progress bar

Features

  • Minimalistic output during development
  • Only useful information on production
  • Hide source maps from the Assets table
  • Sort Assets table

Requirements

  • Node.js v10+
  • Neutrino v9
  • Webpack v4

Installation

@constgen/neutrino-progress can be installed from NPM. You should install it to "dependencies" (--save) or "devDependncies" (--save-dev) depending on your goal.

npm install --save @constgen/neutrino-progress

Usage

In preset

Require this package and plug it into Neutrino. The following shows how you can pass an options object to the middleware, showing the defaults:

let progress = require('@constgen/neutrino-progress')

neutrino.use(progress({
   name : '', // application name to label the progress bar; fallsback to the information from package.json
   color: 'green' // progress bar color
}))

In neutrinorc

The middleware also may be used together with another presets in Neutrino rc-file, e.g.:

.neutrinorc.js

let progress = require('@constgen/neutrino-progress')

module.exports = {
   use: [
      progress()
   ]
}

Keywords

FAQs

Last updated on 28 Sep 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc