knownasilya

knownasilya/cli-width

Fallback to a default if `process.stdout.getWindowSize` doesn't exist

JavaScript
24
6
ISC License

cli-width is a utility for Node.js applications that retrieves the width of the terminal window, providing multiple fallback methods if the standard approach fails. It is designed for developers building command-line interfaces who need to adapt output formatting based on terminal size.

Total donated
Undistributed
Share with your subscribers: