canonical
Version:
Canonical code style linter and formatter for JavaScript, SCSS and CSS.
58 lines (57 loc) • 2.24 kB
JSON
{
"_args": [
[
"cli-width@https://registry.npmjs.org/cli-width/-/cli-width-1.1.0.tgz",
"/Users/gajus/Documents/dev/canonical-code-style/canonical"
]
],
"_from": "cli-width@>=1.0.1 <2.0.0",
"_id": "cli-width@1.1.0",
"_inCache": true,
"_location": "/cli-width",
"_phantomChildren": {},
"_requested": {
"name": "cli-width",
"raw": "cli-width@https://registry.npmjs.org/cli-width/-/cli-width-1.1.0.tgz",
"rawSpec": "https://registry.npmjs.org/cli-width/-/cli-width-1.1.0.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/cli-width/-/cli-width-1.1.0.tgz",
"type": "remote"
},
"_requiredBy": [
"/inquirer"
],
"_resolved": "https://registry.npmjs.org/cli-width/-/cli-width-1.1.0.tgz",
"_shasum": "df62d1e1a980ef60d1256f364d4f2695594d7ecb",
"_shrinkwrap": null,
"_spec": "cli-width@https://registry.npmjs.org/cli-width/-/cli-width-1.1.0.tgz",
"_where": "/Users/gajus/Documents/dev/canonical-code-style/canonical",
"author": {
"email": "ilya@burstcreations.com",
"name": "Ilya Radchenko"
},
"bugs": {
"url": "https://github.com/knownasilya/cli-width/issues"
},
"dependencies": {},
"description": "Get stdout window width, with two fallbacks, tty and then a default.",
"devDependencies": {
"tap-spec": "^2.2.0",
"tape": "^3.4.0"
},
"homepage": "https://github.com/knownasilya/cli-width",
"license": "ISC",
"main": "index.js",
"name": "cli-width",
"optionalDependencies": {},
"readme": "cli-width\n=========\n\nGet stdout window width, with three fallbacks, `tty`, a custom environment variable and then a default.\n\n## Usage\n\n```\nnpm install --save cli-width\n```\n\n```js\n'use stict';\n\nvar cliWidth = require('cli-width');\n\ncliWidth(); // maybe 204 :)\n```\n\nYou can also set the `CLI_WIDTH` environment variable.\n\nIf none of the methods are supported, the default is `0` and\ncan be changed via `cliWidth.defaultWidth = 200;`.\n\n## Tests\n\n```bash\nnpm install\nnpm test\n```\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/knownasilya/cli-width.git"
},
"scripts": {
"test": "node test | tap-spec"
},
"version": "1.1.0"
}