set-terminal-title

1.0.1 • Public • Published

Set Terminal Title

Set the title of your terminal window.

Example

var setTerminalTitle = require('set-terminal-title');
setTerminalTitle('Wallaby Wallace', { verbose: true });
// => Setting terminal title as Wallaby Wallace

Installation

npm install set-terminal-title

Usage

Syntax is setTerminalTitle(<name>, <opts>), where opts is an object.

Options

Verbose

Type: Boolean Default: false

Will log out that you're setting the terminal title

Logger

Type: Object Default: console

The logger instance to use. Needs to have an info method.

Package Sidebar

Install

npm i set-terminal-title

Weekly Downloads

10

Version

1.0.1

License

MIT

Last publish

Collaborators

  • bioball