Categories
JavaScript Answers

How to suppress output when running npm scripts with JavaScript?

Spread the love

To suppress output when running npm scripts with JavaScript, we run npm run with the silent option.

For instance, we run

npm run --silent your-script

to run your-script without showing any output with the --silent option.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *