term-size
Version:
Reliably get the terminal window size (columns & rows)
45 lines (44 loc) • 701 B
JSON
{
"name": "term-size",
"version": "2.0.0",
"description": "Reliably get the terminal window size (columns & rows)",
"license": "MIT",
"repository": "sindresorhus/term-size",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts",
"vendor"
],
"keywords": [
"terminal",
"size",
"console",
"window",
"width",
"height",
"columns",
"rows",
"lines",
"tty",
"redirected"
],
"dependencies": {
"execa": "^1.0.0"
},
"devDependencies": {
"ava": "^1.4.1",
"tsd": "^0.7.2",
"xo": "^0.24.0"
}
}