full-width-of-terminal

2.1.0 • Public • Published

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())

Package Sidebar

Install

npm i full-width-of-terminal

Weekly Downloads

2

Version

2.1.0

License

MIT

Unpacked Size

3.23 kB

Total Files

7

Last publish

Collaborators

  • abetomo