Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.223.122.53
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
npm /
node_modules /
term-size /
Delete
Unzip
Name
Size
Permission
Date
Action
vendor
[ DIR ]
drwxr-xr-x
2022-01-26 16:43
index.js
1.73
KB
-rw-r--r--
2022-01-10 12:20
license
1.09
KB
-rw-r--r--
2022-01-10 12:20
package.json
1.62
KB
-rw-r--r--
2022-01-10 12:20
readme.md
1.11
KB
-rw-r--r--
2022-01-10 12:20
Save
Rename
# term-size [](https://travis-ci.org/sindresorhus/term-size) [](https://ci.appveyor.com/project/sindresorhus/term-size/branch/master) > Reliably get the terminal window size Because [`process.stdout.columns`](https://nodejs.org/api/tty.html#tty_writestream_columns) doesn't exist when run [non-interactively](http://www.tldp.org/LDP/abs/html/intandnonint.html), for example, in a child process or when piped. This module even works when all the TTY file descriptors are redirected! Confirmed working on macOS, Linux, and Windows. ## Install ``` $ npm install --save term-size ``` ## Usage ```js const termSize = require('term-size'); termSize(); //=> {columns: 143, rows: 24} ``` ## API ### termSize() Returns an `Object` with `columns` and `rows` properties. ## Related - [term-size-cli](https://github.com/sindresorhus/term-size-cli) - CLI for this module ## License MIT © [Sindre Sorhus](https://sindresorhus.com)