window-size
Version:
Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.
83 lines (82 loc) • 1.8 kB
JSON
{
"name": "window-size",
"description": "Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.",
"version": "1.1.1",
"homepage": "https://github.com/jonschlinkert/window-size",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"contributors": [
"Benjamin E. Coe (https://twitter.com/benjamincoe)",
"Brian Woodward (https://twitter.com/doowb)",
"Carlos Hernández Gómez (http://www.twitter.com/k4rliky)",
"Jannis Redmann (http://jannisr.de)",
"Jon Schlinkert (http://twitter.com/jonschlinkert)",
"Siddharth Kannan (http://icyflame.github.io)"
],
"repository": "jonschlinkert/window-size",
"bugs": {
"url": "https://github.com/jonschlinkert/window-size/issues"
},
"license": "MIT",
"files": [
"cli.js",
"index.js",
"utils.js"
],
"main": "index.js",
"bin": "cli.js",
"engines": {
"node": ">= 0.10.0"
},
"scripts": {
"test": "mocha"
},
"dependencies": {
"define-property": "^1.0.0",
"is-number": "^3.0.0"
},
"devDependencies": {
"gulp-format-md": "^0.1.12",
"justified": "^0.2.1",
"mocha": "^3.3.0"
},
"keywords": [
"columns",
"console",
"darwin",
"height",
"lines",
"redirected",
"resize",
"rows",
"size",
"term",
"term-size",
"terminal",
"tty",
"unix",
"width",
"win",
"window",
"windows"
],
"verb": {
"related": {
"list": [
"base-cli",
"lint-deps",
"yargs"
]
},
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"lint": {
"reflinks": true
}
}
}