{"_id":"cli-width","_rev":"2989309","name":"cli-width","description":"Get stdout window width, with two fallbacks, tty and then a default.","dist-tags":{"latest":"4.1.0"},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"time":{"modified":"2023-08-24T07:32:35.000Z","created":"2015-01-21T20:33:19.178Z","4.1.0":"2023-08-05T16:14:01.241Z","4.0.0":"2022-03-29T13:37:09.944Z","3.0.0":"2020-04-14T15:23:18.434Z","2.2.1":"2020-04-14T15:11:14.372Z","2.2.0":"2017-08-22T13:46:06.289Z","2.1.1":"2017-08-22T13:28:51.196Z","2.1.0":"2016-02-15T21:10:15.968Z","2.0.0":"2016-02-08T14:34:40.031Z","1.1.1":"2016-01-26T00:31:16.054Z","1.1.0":"2015-10-16T12:28:23.132Z","1.0.1":"2015-01-22T14:29:57.778Z","1.0.0":"2015-01-21T20:33:19.178Z"},"users":{"knownasilya":true},"author":{"name":"Ilya Radchenko","email":"knownasilya@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/knownasilya/cli-width.git"},"versions":{"4.1.0":{"name":"cli-width","version":"4.1.0","description":"Get stdout window width, with two fallbacks, tty and then a default.","main":"index.js","scripts":{"test":"node test | tspec","coverage":"nyc node test | tspec","coveralls":"npm run coverage -s && coveralls < coverage/lcov.info","release":"standard-version"},"repository":{"type":"git","url":"git+ssh://git@github.com/knownasilya/cli-width.git"},"author":{"name":"Ilya Radchenko","email":"knownasilya@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"homepage":"https://github.com/knownasilya/cli-width","engines":{"node":">= 12"},"devDependencies":{"coveralls":"^3.1.1","nyc":"^15.1.0","standard-version":"^9.3.2","tap-spec":"^5.0.0","tape":"^5.5.2"},"volta":{"node":"12.22.11","npm":"8.5.5"},"types":"./index.d.ts","gitHead":"a813d2498abe52e3730bfe24cb7d934b04013633","_id":"cli-width@4.1.0","_nodeVersion":"12.22.11","_npmVersion":"8.5.5","dist":{"shasum":"42daac41d3c254ef38ad8ac037672130173691c5","size":2244,"noattachment":false,"key":"/cli-width/-/cli-width-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cli-width/download/cli-width-4.1.0.tgz"},"_npmUser":{"name":"knownasilya","email":"knownasilya@gmail.com"},"directories":{},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-width_4.1.0_1691252041110_0.8962663373059998"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-05T16:14:01.241Z","publish_time":1691252041241,"_source_registry_name":"default","_cnpm_publish_time":1691252041241},"4.0.0":{"name":"cli-width","version":"4.0.0","description":"Get stdout window width, with two fallbacks, tty and then a default.","main":"index.js","scripts":{"test":"node test | tspec","coverage":"nyc node test | tspec","coveralls":"npm run coverage -s && coveralls < coverage/lcov.info","release":"standard-version"},"repository":{"type":"git","url":"git+ssh://git@github.com/knownasilya/cli-width.git"},"author":{"name":"Ilya Radchenko","email":"knownasilya@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"homepage":"https://github.com/knownasilya/cli-width","engines":{"node":">= 12"},"devDependencies":{"coveralls":"^3.1.1","nyc":"^15.1.0","standard-version":"^9.3.2","tap-spec":"^5.0.0","tape":"^5.5.2"},"volta":{"node":"12.22.11","npm":"8.5.5"},"gitHead":"dd703b65969d4f8f2be3d78f292e64aebb4385e9","_id":"cli-width@4.0.0","_nodeVersion":"12.22.11","_npmVersion":"8.5.5","dist":{"shasum":"a5622f6a3b0a9e3e711a25f099bf2399f608caf6","size":2613,"noattachment":false,"key":"/cli-width/-/cli-width-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cli-width/download/cli-width-4.0.0.tgz"},"_npmUser":{"name":"knownasilya","email":"knownasilya@gmail.com"},"directories":{},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-width_4.0.0_1648561029720_0.4160089847445092"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-29T13:37:13.777Z","publish_time":1648561029944,"_cnpm_publish_time":1648561029944},"3.0.0":{"name":"cli-width","version":"3.0.0","description":"Get stdout window width, with two fallbacks, tty and then a default.","main":"index.js","scripts":{"test":"node test | tspec","coverage":"nyc node test | tspec","coveralls":"npm run coverage -s && coveralls < coverage/lcov.info","release":"standard-version"},"repository":{"type":"git","url":"git+ssh://git@github.com/knownasilya/cli-width.git"},"author":{"name":"Ilya Radchenko","email":"knownasilya@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"homepage":"https://github.com/knownasilya/cli-width","engines":{"node":">= 10"},"devDependencies":{"coveralls":"^3.0.11","nyc":"^15.0.1","standard-version":"^7.1.0","tap-spec":"^5.0.0","tape":"^4.13.2"},"gitHead":"c96cf6e8b9a02256ded31e412490e29dbad30603","_id":"cli-width@3.0.0","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"shasum":"a2f48437a2caa9a22436e794bf071ec9e61cedf6","size":4026,"noattachment":false,"key":"/cli-width/-/cli-width-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cli-width/download/cli-width-3.0.0.tgz"},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"_npmUser":{"name":"knownasilya","email":"knownasilya@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-width_3.0.0_1586877798281_0.1335442509204645"},"_hasShrinkwrap":false,"publish_time":1586877798434,"_cnpm_publish_time":1586877798434},"2.2.1":{"name":"cli-width","version":"2.2.1","description":"Get stdout window width, with two fallbacks, tty and then a default.","main":"index.js","scripts":{"test":"node test | tspec","coverage":"nyc node test | tspec","coveralls":"npm run coverage -s && coveralls < coverage/lcov.info","release":"standard-version"},"repository":{"type":"git","url":"git+ssh://git@github.com/knownasilya/cli-width.git"},"author":{"name":"Ilya Radchenko","email":"knownasilya@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"homepage":"https://github.com/knownasilya/cli-width","devDependencies":{"coveralls":"^3.0.11","nyc":"^15.0.1","standard-version":"^7.1.0","tap-spec":"^5.0.0","tape":"^4.13.2"},"gitHead":"271bf678a0925cc5f400404cfc78ffb71e7057e6","_id":"cli-width@2.2.1","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"shasum":"b0433d0b4e9c847ef18868a4ef16fd5fc8271c48","size":3907,"noattachment":false,"key":"/cli-width/-/cli-width-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cli-width/download/cli-width-2.2.1.tgz"},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"_npmUser":{"name":"knownasilya","email":"knownasilya@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-width_2.2.1_1586877074212_0.7202057873507315"},"_hasShrinkwrap":false,"publish_time":1586877074372,"_cnpm_publish_time":1586877074372},"2.2.0":{"name":"cli-width","version":"2.2.0","description":"Get stdout window width, with two fallbacks, tty and then a default.","main":"index.js","scripts":{"test":"node test | tspec","coverage":"isparta cover test/*.js | tspec","coveralls":"npm run coverage -s && coveralls < coverage/lcov.info","postcoveralls":"rimraf ./coverage","release":"standard-version"},"repository":{"type":"git","url":"git+ssh://git@github.com/knownasilya/cli-width.git"},"author":{"name":"Ilya Radchenko","email":"ilya@burstcreations.com"},"license":"ISC","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"homepage":"https://github.com/knownasilya/cli-width","devDependencies":{"coveralls":"^2.11.4","isparta":"^3.0.4","rimraf":"^2.4.3","standard-version":"^4.2.0","tap-spec":"^4.1.0","tape":"^3.4.0"},"gitHead":"176376e902a7d9fde3d82c885978e6d13d6496fc","_id":"cli-width@2.2.0","_shasum":"ff19ede8a9a5e579324147b0c11f0fbcbabed639","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.9.4","_npmUser":{"name":"knownasilya","email":"ilya@burstcreations.com"},"dist":{"shasum":"ff19ede8a9a5e579324147b0c11f0fbcbabed639","size":2521,"noattachment":false,"key":"/cli-width/-/cli-width-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cli-width/download/cli-width-2.2.0.tgz"},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-width-2.2.0.tgz_1503409565255_0.3628303287550807"},"directories":{},"publish_time":1503409566289,"_hasShrinkwrap":false,"_cnpm_publish_time":1503409566289},"2.1.1":{"name":"cli-width","version":"2.1.1","description":"Get stdout window width, with two fallbacks, tty and then a default.","main":"index.js","scripts":{"test":"node test | tspec","coverage":"isparta cover test/*.js | tspec","coveralls":"npm run coverage -s && coveralls < coverage/lcov.info","postcoveralls":"rimraf ./coverage","release":"standard-version"},"repository":{"type":"git","url":"git+ssh://git@github.com/knownasilya/cli-width.git"},"author":{"name":"Ilya Radchenko","email":"ilya@burstcreations.com"},"license":"ISC","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"homepage":"https://github.com/knownasilya/cli-width","devDependencies":{"coveralls":"^2.11.4","isparta":"^3.0.4","rimraf":"^2.4.3","standard-version":"^4.2.0","tap-spec":"^4.1.0","tape":"^3.4.0"},"gitHead":"6d7cc28bdcd8b9e17b2611c332f17ff8ca2c0115","_id":"cli-width@2.1.1","_shasum":"d39c1ba0008fa7a6fc689a04197a277ba9ee05bc","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.9.4","_npmUser":{"name":"knownasilya","email":"ilya@burstcreations.com"},"dist":{"shasum":"d39c1ba0008fa7a6fc689a04197a277ba9ee05bc","size":2433,"noattachment":false,"key":"/cli-width/-/cli-width-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cli-width/download/cli-width-2.1.1.tgz"},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-width-2.1.1.tgz_1503408530248_0.24596149008721113"},"directories":{},"publish_time":1503408531196,"_cnpm_publish_time":1503408531196,"_hasShrinkwrap":false},"2.1.0":{"name":"cli-width","version":"2.1.0","description":"Get stdout window width, with two fallbacks, tty and then a default.","main":"index.js","scripts":{"test":"node test | tspec","coverage":"isparta cover test/*.js | tspec","coveralls":"npm run coverage -s && coveralls < coverage/lcov.info","postcoveralls":"rimraf ./coverage"},"repository":{"type":"git","url":"git+ssh://git@github.com/knownasilya/cli-width.git"},"author":{"name":"Ilya Radchenko","email":"ilya@burstcreations.com"},"license":"ISC","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"homepage":"https://github.com/knownasilya/cli-width","devDependencies":{"tap-spec":"^4.1.0","tape":"^3.4.0","coveralls":"^2.11.4","isparta":"^3.0.4","rimraf":"^2.4.3"},"gitHead":"c9506fd74bd3863ff327f8f8892601fa4ac2dbb3","_id":"cli-width@2.1.0","_shasum":"b234ca209b29ef66fc518d9b98d5847b00edf00a","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"knownasilya","email":"ilya@burstcreations.com"},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"dist":{"shasum":"b234ca209b29ef66fc518d9b98d5847b00edf00a","size":15911,"noattachment":false,"key":"/cli-width/-/cli-width-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cli-width/download/cli-width-2.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/cli-width-2.1.0.tgz_1455570612101_0.2879865295253694"},"directories":{},"publish_time":1455570615968,"_cnpm_publish_time":1455570615968,"_hasShrinkwrap":false},"2.0.0":{"name":"cli-width","version":"2.0.0","description":"Get stdout window width, with two fallbacks, tty and then a default.","main":"index.js","scripts":{"test":"node test | tspec","coverage":"isparta cover test/*.js | tspec","coveralls":"npm run coverage -s && coveralls < coverage/lcov.info","postcoveralls":"rimraf ./coverage"},"repository":{"type":"git","url":"git+ssh://git@github.com/knownasilya/cli-width.git"},"author":{"name":"Ilya Radchenko","email":"ilya@burstcreations.com"},"license":"ISC","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"homepage":"https://github.com/knownasilya/cli-width","devDependencies":{"tap-spec":"^4.1.0","tape":"^3.4.0","coveralls":"^2.11.4","isparta":"^3.0.4","rimraf":"^2.4.3"},"gitHead":"a81748923ff3cdbb49853cf96de490992097cbb5","_id":"cli-width@2.0.0","_shasum":"067c42c5c92dc50f29d7cf4c5792c638c4d0b897","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"knownasilya","email":"ilya@burstcreations.com"},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"dist":{"shasum":"067c42c5c92dc50f29d7cf4c5792c638c4d0b897","size":15903,"noattachment":false,"key":"/cli-width/-/cli-width-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cli-width/download/cli-width-2.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/cli-width-2.0.0.tgz_1454942077201_0.3669316528830677"},"directories":{},"publish_time":1454942080031,"_cnpm_publish_time":1454942080031,"_hasShrinkwrap":false},"1.1.1":{"name":"cli-width","version":"1.1.1","description":"Get stdout window width, with two fallbacks, tty and then a default.","main":"index.js","scripts":{"test":"node test | tspec","coverage":"isparta cover test/*.js | tspec","coveralls":"npm run coverage -s && coveralls < coverage/lcov.info","postcoveralls":"rimraf ./coverage"},"repository":{"type":"git","url":"git+ssh://git@github.com/knownasilya/cli-width.git"},"author":{"name":"Ilya Radchenko","email":"ilya@burstcreations.com"},"license":"ISC","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"homepage":"https://github.com/knownasilya/cli-width","devDependencies":{"tap-spec":"^4.1.0","tape":"^3.4.0","coveralls":"^2.11.4","isparta":"^3.0.4","rimraf":"^2.4.3"},"gitHead":"353b24e4ebd754a748dbb07695cf1a02caf1d012","_id":"cli-width@1.1.1","_shasum":"a4d293ef67ebb7b88d4a4d42c0ccf00c4d1e366d","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"knownasilya","email":"ilya@burstcreations.com"},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"dist":{"shasum":"a4d293ef67ebb7b88d4a4d42c0ccf00c4d1e366d","size":15468,"noattachment":false,"key":"/cli-width/-/cli-width-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cli-width/download/cli-width-1.1.1.tgz"},"directories":{},"publish_time":1453768276054,"_cnpm_publish_time":1453768276054,"_hasShrinkwrap":false},"1.1.0":{"name":"cli-width","version":"1.1.0","description":"Get stdout window width, with two fallbacks, tty and then a default.","main":"index.js","scripts":{"test":"node test | tap-spec"},"repository":{"type":"git","url":"git+ssh://git@github.com/knownasilya/cli-width.git"},"author":{"name":"Ilya Radchenko","email":"ilya@burstcreations.com"},"license":"ISC","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"homepage":"https://github.com/knownasilya/cli-width","devDependencies":{"tap-spec":"^2.2.0","tape":"^3.4.0"},"gitHead":"3eef3a6b1104e5662844a0b18949846d4d3391c9","_id":"cli-width@1.1.0","_shasum":"df62d1e1a980ef60d1256f364d4f2695594d7ecb","_from":".","_npmVersion":"2.11.1","_nodeVersion":"2.3.0","_npmUser":{"name":"knownasilya","email":"ilya@burstcreations.com"},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"dist":{"shasum":"df62d1e1a980ef60d1256f364d4f2695594d7ecb","size":2419,"noattachment":false,"key":"/cli-width/-/cli-width-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cli-width/download/cli-width-1.1.0.tgz"},"directories":{},"publish_time":1444998503132,"_cnpm_publish_time":1444998503132,"_hasShrinkwrap":false},"1.0.1":{"name":"cli-width","version":"1.0.1","description":"Get stdout window width, with two fallbacks, tty and then a default.","main":"index.js","scripts":{"test":"node test | tap-spec"},"repository":{"type":"git","url":"git@github.com:knownasilya/cli-width.git"},"author":{"name":"Ilya Radchenko","email":"ilya@burstcreations.com"},"license":"ISC","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"homepage":"https://github.com/knownasilya/cli-width","devDependencies":{"tap-spec":"^2.2.0","tape":"^3.4.0"},"gitHead":"4448d9599eee5a85da34e24baad39cfddfc1d807","_id":"cli-width@1.0.1","_shasum":"14d4f6870234d91e97f7dd81e76be8271410a1ef","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.26","_npmUser":{"name":"knownasilya","email":"ilya@burstcreations.com"},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"dist":{"shasum":"14d4f6870234d91e97f7dd81e76be8271410a1ef","size":1683,"noattachment":false,"key":"/cli-width/-/cli-width-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cli-width/download/cli-width-1.0.1.tgz"},"directories":{},"publish_time":1421936997778,"_cnpm_publish_time":1421936997778,"_hasShrinkwrap":false},"1.0.0":{"name":"cli-width","version":"1.0.0","description":"Get stdout window width, with two fallbacks, tty and then a default.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:knownasilya/cli-width.git"},"author":{"name":"Ilya Radchenko","email":"ilya@burstcreations.com"},"license":"ISC","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"homepage":"https://github.com/knownasilya/cli-width","gitHead":"f1549d7c9801ad2da11a31e562f13748d10a2fe6","_id":"cli-width@1.0.0","_shasum":"58c8afd99d5147de081f9d1c058946a148e4f2fd","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.26","_npmUser":{"name":"knownasilya","email":"ilya@burstcreations.com"},"maintainers":[{"name":"knownasilya","email":"ilya@burstcreations.com"},{"name":"sboudrias","email":""}],"dist":{"shasum":"58c8afd99d5147de081f9d1c058946a148e4f2fd","size":1224,"noattachment":false,"key":"/cli-width/-/cli-width-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cli-width/download/cli-width-1.0.0.tgz"},"directories":{},"publish_time":1421872399178,"_cnpm_publish_time":1421872399178,"_hasShrinkwrap":false}},"readme":"# cli-width\n\nGet stdout window width, with four fallbacks, `tty`, `output.columns`, a custom environment variable and then a default.\n\n[![npm version](https://badge.fury.io/js/cli-width.svg)](http://badge.fury.io/js/cli-width)\n[![Build Status](https://travis-ci.org/knownasilya/cli-width.svg)](https://travis-ci.org/knownasilya/cli-width)\n[![Coverage Status](https://coveralls.io/repos/knownasilya/cli-width/badge.svg?branch=master&service=github)](https://coveralls.io/github/knownasilya/cli-width?branch=master)\n\nTested against Node v12 to v20.\nIncludes TypeScript types.\n\n## Usage\n\n```\nnpm install --save cli-width\n```\n\n```js\nconst 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, and the environment variable isn't set,\nthe default width value is going to be `0`, that can be changed using the configurable `options`.\n\n## API\n\n### cliWidth([options])\n\n`cliWidth` can be configured using an `options` parameter, the possible properties are:\n\n- **defaultWidth**\\<number\\> Defines a default value to be used if none of the methods are available, defaults to `0`\n- **output**\\<object\\> A stream to be used to read width values from, defaults to `process.stdout`\n- **tty**\\<object\\> TTY module to try to read width from as a fallback, defaults to `require('tty')`\n\n### Examples\n\nDefining both a default width value and a stream output to try to read from:\n\n```js\nconst cliWidth = require('cli-width');\nconst ttys = require('ttys');\n\ncliWidth({\n  defaultWidth: 80,\n  output: ttys.output,\n});\n```\n\nDefines a different tty module to read width from:\n\n```js\nconst cliWidth = require('cli-width');\nconst ttys = require('ttys');\n\ncliWidth({\n  tty: ttys,\n});\n```\n\n## Tests\n\n```bash\nnpm install\nnpm test\n```\n\nCoverage can be generated with `npm run coverage`.\n","_attachments":{},"homepage":"https://github.com/knownasilya/cli-width","bugs":{"url":"https://github.com/knownasilya/cli-width/issues"},"license":"ISC"}