node-fullwidth-stdout

1.0.0 • Public • Published

node-fullwidth-stdout

Format a string for stdout to be the full width of a terminal window

example of output

This little library is intended for use in a situation where, for example, you are using chalk with a background color to your text, and you want your background color to extend the entire width of your terminal.

I wrote this lib in answer to this question on StackOverflow.

Package Sidebar

Install

npm i node-fullwidth-stdout

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • netpoetica