New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

console-title-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-title-cli

CLI to set console title on Windows, Linux, or OS/X in a cross-platform way

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

node-console-title-cli

CLI to set console title on Windows, Linux or OS/X in a cross-platform way

Installation

Prerequisites

windows-console-title is used underneath the covers. They use node-gyp for their build. This requires Python 2.7 (3.x.x support is lacking from their base gyp project).

If you get errors while installing this project that reference node-gyp you should install all necessary dependencies with these commands (powershell):

npm install --global --production windows-build-tools
npm install --global node-gyp
npm install node-constole-title-cli

Usage

If globally installed (not recommended):

npm run set-title My Task

Otherwise add to a script as any other command:

"scripts": {
    "do-stuff": "set-title My Task && npm run do-more-stuff"
}
npm run do-stuff
# set title and force Windows mode
npx set-title -f win My Title
# set title and force ansi (linux/mac) mode
npx set-title -f ansi My Title

Notes

I highly recommend using the npm-run-all package for a nicer experience:

"scripts": {
    "do-stuff": "run-s \"set-title My Task\" do-more-stuff"
}

Keywords

cli

FAQs

Package last updated on 22 Mar 2019

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