@zkochan/pnpm
Version:
Fast, disk space efficient package manager
121 lines (120 loc) • 3.99 kB
JSON
{
"_args": [
[
{
"raw": "term-size@^1.2.0",
"scope": null,
"escapedName": "term-size",
"name": "term-size",
"rawSpec": "^1.2.0",
"spec": ">=1.2.0 <2.0.0",
"type": "range"
},
"/home/zkochan/src/pnpm/packages/pnpm/node_modules/boxen"
]
],
"_from": "term-size@>=1.2.0 <2.0.0",
"_id": "term-size@1.2.0",
"_inCache": true,
"_location": "/term-size",
"_nodeVersion": "8.0.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/term-size-1.2.0.tgz_1498495343247_0.8403623618651181"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "4.6.1",
"_phantomChildren": {
"is-stream": "1.1.0",
"lru-cache": "4.1.3",
"npm-run-path": "2.0.2",
"p-finally": "1.0.0",
"shebang-command": "1.2.0",
"signal-exit": "3.0.2",
"strip-eof": "1.0.0",
"which": "1.3.1"
},
"_requested": {
"raw": "term-size@^1.2.0",
"scope": null,
"escapedName": "term-size",
"name": "term-size",
"rawSpec": "^1.2.0",
"spec": ">=1.2.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/boxen"
],
"_resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz",
"_shasum": "458b83887f288fc56d6fffbfad262e26638efa69",
"_shrinkwrap": null,
"_spec": "term-size@^1.2.0",
"_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/boxen",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/term-size/issues"
},
"dependencies": {
"execa": "^0.7.0"
},
"description": "Reliably get the terminal window size (columns & rows)",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "458b83887f288fc56d6fffbfad262e26638efa69",
"tarball": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js",
"vendor"
],
"gitHead": "d3857c0f53ef237edbc65f8a85eacb9410963d85",
"homepage": "https://github.com/sindresorhus/term-size#readme",
"keywords": [
"term",
"terminal",
"size",
"console",
"window",
"width",
"height",
"columns",
"rows",
"lines",
"tty",
"redirected"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "term-size",
"optionalDependencies": {},
"readme": "# term-size [](https://travis-ci.org/sindresorhus/term-size) [](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",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/term-size.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "1.2.0"
}