0.0.5 • Published 3 years ago
who-said-that v0.0.5
Who said that?!
Adds a prefix that identifies the currently running npm script to every line of its output.
Why?
Sometimes it's hard to identify which line of output comes from which script when running multiple npm scripts in parallel or in series like in a monorepo build or a continuous integration output. Just prefix your npm script definition with who-said-that
and you will have a tag that includes the package name and the script name on every output line.
How?
Given that you have an npm script like this:
"lint": "who-said-that eslint"
You will have an output like this:
And it will help you identify which package (your-package
) and which script (lint
) logged these messages when examining a large log, for instance.
Installation
npm install --save-dev who-said-that
Or you can install it globally if you like:
npm install -g who-said-that