Set the title of your terminal window.
var setTerminalTitle = require('set-terminal-title');
setTerminalTitle('Wallaby Wallace', { verbose: true });
// => Setting terminal title as Wallaby Wallace
npm install set-terminal-title
Syntax is setTerminalTitle(<name>, <opts>)
, where opts
is an object.
Type: Boolean
Default: false
Will log out that you're setting the terminal title
Type: Object
Default: console
The logger instance to use. Needs to have an info
method.