console-title
v1.1.0
Published
Rename the console window's title
Downloads
55,879
Readme
console-title
Allows you to rename the GUI window your application is running in.
var setTitle = require('console-title');
setTitle('Hi mom!');
On unix, this is done through an ANSI OSC escape sequence written to stdout. Your terminal emulator must support the escape sequence.
On Windows, this is accomplished though a call to the native SetConsoleTitle
API; thus, you must have a working build environment for this module to function. However, if the native code build fails, your application will still work. Calls to set the console title will be silently ignored.