Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

console-title

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-title

Rename the console window's title

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11K
increased by16.34%
Maintainers
1
Weekly downloads
 
Created
Source

console-title

Allows you to rename the GUI window your application is running in.

var setTitle = require('console-title');
setTitle('Hi mom!');

Console window example

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.

FAQs

Package last updated on 08 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc