Skip to content

The string is displayed on the full width of the terminal.

License

Notifications You must be signed in to change notification settings

abetomo/full-width-of-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

full-width-of-terminal

npm version

The string is displayed on the full width of the terminal.

Install

% npm install full-width-of-terminal

Usage

const getStringFullWidthOfTerminal =
  require('full-width-of-terminal').getStringFullWidthOfTerminal

// '=' is displayed across the width of the terminal
console.log(getStringFullWidthOfTerminal('='))

// By default, '-' is displayed.
console.log(getStringFullWidthOfTerminal())