full-width-of-terminal
v2.1.0
Published
The string is displayed on the full width of the terminal.
Downloads
45
Maintainers
Readme
full-width-of-terminal
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())