Install window-size by entering the following commands in the terminal:
sudo apt update sudo apt install window-size
Description:
get the height and width of the terminal
reliable way to get the height and width of the terminal/console in a node.js environment. . Node.js is an event-based server-side JavaScript engine.
Homepage: https://github.com/jonschlinkert/window-size
Version: 0.2.0-1
Section: universe/web