1.0.0 • Published 6 years ago

npm-run-message v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

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