UNPKG

term-size

Version:

Reliably get the terminal window size (columns & rows)

46 lines (45 loc) 819 B
{ "name": "term-size", "version": "4.0.0", "description": "Reliably get the terminal window size (columns & rows)", "license": "MIT", "repository": "sindresorhus/term-size", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": "./index.js", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "scripts": { "test": "xo && ava && tsd" }, "files": [ "index.js", "index.d.ts", "vendor" ], "keywords": [ "terminal", "size", "console", "window", "width", "height", "columns", "rows", "lines", "tty", "redirected" ], "devDependencies": { "ava": "^3.15.0", "execa": "^5.1.1", "tsd": "^0.17.0", "xo": "^0.44.0" } }