npm-run-message
v1.0.0
Published
Allows you to print messages via npm run scripts.
Downloads
42
Maintainers
Readme
npm-run-message
Create a log message when running npm run scripts. Useful as verbose separators in npm command chains to give users more context as to what's happening
Install
$ npm install npm-run-message --save-dev
Usage
$ npm-run-message
Usage
$ npm-run-message <options>
Options
--message, -m "[message]" Message to display
--color, -c [color] Color of message (only supports chalk colors)
--padding, -p Adds padding to top and bottom of message
Examples
$ npm-run-message -m "Hello World" -c yellow -p
package.json
"scripts": {
"hello": "npm-run-message -m "Hello World" -c yellow -p && jest"
},
See supported colors.
Related
- chalk - API for this module