{
  "manifest": {
    "name": "term-size",
    "version": "1.2.0",
    "description": "Reliably get the terminal window size (columns & rows)",
    "license": "MIT",
    "repository": {
      "type": "git",
      "url": "https://github.com/sindresorhus/term-size.git"
    },
    "author": {
      "name": "Sindre Sorhus",
      "email": "sindresorhus@gmail.com",
      "url": "sindresorhus.com"
    },
    "engines": {
      "node": ">=4"
    },
    "scripts": {
      "test": "xo && ava"
    },
    "files": [
      "index.js",
      "vendor"
    ],
    "keywords": [
      "term",
      "terminal",
      "size",
      "console",
      "window",
      "width",
      "height",
      "columns",
      "rows",
      "lines",
      "tty",
      "redirected"
    ],
    "dependencies": {
      "execa": "^0.7.0"
    },
    "devDependencies": {
      "ava": "*",
      "xo": "*"
    },
    "_registry": "npm",
    "_loc": "/home/josie/.cache/yarn/v6/npm-term-size-1.2.0-integrity/node_modules/term-size/package.json",
    "readmeFilename": "readme.md",
    "readme": "# term-size [![Build Status: Linux & macOS](https://travis-ci.org/sindresorhus/term-size.svg?branch=master)](https://travis-ci.org/sindresorhus/term-size) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/c3tydg6uedsk0bob/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/term-size/branch/master)\n\n> Reliably get the terminal window size\n\nBecause [`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!\n\nConfirmed working on macOS, Linux, and Windows.\n\n\n## Install\n\n```\n$ npm install --save term-size\n```\n\n\n## Usage\n\n```js\nconst termSize = require('term-size');\n\ntermSize();\n//=> {columns: 143, rows: 24}\n```\n\n\n## API\n\n### termSize()\n\nReturns an `Object` with `columns` and `rows` properties.\n\n\n## Related\n\n- [term-size-cli](https://github.com/sindresorhus/term-size-cli) - CLI for this module\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
    "licenseText": "The MIT License (MIT)\n\nCopyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz",
    "type": "tarball",
    "reference": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz",
    "hash": "",
    "integrity": "sha512-7dPUZQGy/+m3/wjVz3ZW5dobSoD/02NxJpoXUX0WIyjfVS3l0c+b/+9phIDFA7FHzkYtwtMFgeGZ/Y8jVTeqQQ==",
    "registry": "npm",
    "packageName": "term-size",
    "cacheIntegrity": "sha512-7dPUZQGy/+m3/wjVz3ZW5dobSoD/02NxJpoXUX0WIyjfVS3l0c+b/+9phIDFA7FHzkYtwtMFgeGZ/Y8jVTeqQQ== sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk="
  },
  "registry": "npm",
  "hash": "edd3d46501b2ffe9b7ff08d5cf7656e5da1b4a80ffd36371269a17517d162328df552de5d1cf9bffef698480c503b147ce462dc2d30581e199fd8f235537aa41"
}