Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/cli-width.json

raw
1 {
2 "_id": "cli-width",
3 "_rev": "14-74277b249eb99720ee3264521d84fc70",
4 "name": "cli-width",
5 "description": "Get stdout window width, with two fallbacks, tty and then a default.",
6 "dist-tags": {
7 "latest": "3.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "cli-width",
12 "version": "1.0.0",
13 "description": "Get stdout window width, with two fallbacks, tty and then a default.",
14 "main": "index.js",
15 "scripts": {
16 "test": "echo \"Error: no test specified\" && exit 1"
17 },
18 "repository": {
19 "type": "git",
20 "url": "[email protected]:knownasilya/cli-width.git"
21 },
22 "author": {
23 "name": "Ilya Radchenko",
24 "email": "[email protected]"
25 },
26 "license": "ISC",
27 "bugs": {
28 "url": "https://github.com/knownasilya/cli-width/issues"
29 },
30 "homepage": "https://github.com/knownasilya/cli-width",
31 "gitHead": "f1549d7c9801ad2da11a31e562f13748d10a2fe6",
32 "_id": "[email protected]",
33 "_shasum": "58c8afd99d5147de081f9d1c058946a148e4f2fd",
34 "_from": ".",
35 "_npmVersion": "2.1.2",
36 "_nodeVersion": "0.10.26",
37 "_npmUser": {
38 "name": "knownasilya",
39 "email": "[email protected]"
40 },
41 "maintainers": [
42 {
43 "name": "knownasilya",
44 "email": "[email protected]"
45 }
46 ],
47 "dist": {
48 "shasum": "58c8afd99d5147de081f9d1c058946a148e4f2fd",
49 "tarball": "https://registry.npmjs.org/cli-width/-/cli-width-1.0.0.tgz"
50 },
51 "directories": {}
52 },
53 "1.0.1": {
54 "name": "cli-width",
55 "version": "1.0.1",
56 "description": "Get stdout window width, with two fallbacks, tty and then a default.",
57 "main": "index.js",
58 "scripts": {
59 "test": "node test | tap-spec"
60 },
61 "repository": {
62 "type": "git",
63 "url": "[email protected]:knownasilya/cli-width.git"
64 },
65 "author": {
66 "name": "Ilya Radchenko",
67 "email": "[email protected]"
68 },
69 "license": "ISC",
70 "bugs": {
71 "url": "https://github.com/knownasilya/cli-width/issues"
72 },
73 "homepage": "https://github.com/knownasilya/cli-width",
74 "devDependencies": {
75 "tap-spec": "^2.2.0",
76 "tape": "^3.4.0"
77 },
78 "gitHead": "4448d9599eee5a85da34e24baad39cfddfc1d807",
79 "_id": "[email protected]",
80 "_shasum": "14d4f6870234d91e97f7dd81e76be8271410a1ef",
81 "_from": ".",
82 "_npmVersion": "2.1.2",
83 "_nodeVersion": "0.10.26",
84 "_npmUser": {
85 "name": "knownasilya",
86 "email": "[email protected]"
87 },
88 "maintainers": [
89 {
90 "name": "knownasilya",
91 "email": "[email protected]"
92 }
93 ],
94 "dist": {
95 "shasum": "14d4f6870234d91e97f7dd81e76be8271410a1ef",
96 "tarball": "https://registry.npmjs.org/cli-width/-/cli-width-1.0.1.tgz"
97 },
98 "directories": {}
99 },
100 "1.1.0": {
101 "name": "cli-width",
102 "version": "1.1.0",
103 "description": "Get stdout window width, with two fallbacks, tty and then a default.",
104 "main": "index.js",
105 "scripts": {
106 "test": "node test | tap-spec"
107 },
108 "repository": {
109 "type": "git",
110 "url": "git+ssh://[email protected]/knownasilya/cli-width.git"
111 },
112 "author": {
113 "name": "Ilya Radchenko",
114 "email": "[email protected]"
115 },
116 "license": "ISC",
117 "bugs": {
118 "url": "https://github.com/knownasilya/cli-width/issues"
119 },
120 "homepage": "https://github.com/knownasilya/cli-width",
121 "devDependencies": {
122 "tap-spec": "^2.2.0",
123 "tape": "^3.4.0"
124 },
125 "gitHead": "3eef3a6b1104e5662844a0b18949846d4d3391c9",
126 "_id": "[email protected]",
127 "_shasum": "df62d1e1a980ef60d1256f364d4f2695594d7ecb",
128 "_from": ".",
129 "_npmVersion": "2.11.1",
130 "_nodeVersion": "2.3.0",
131 "_npmUser": {
132 "name": "knownasilya",
133 "email": "[email protected]"
134 },
135 "maintainers": [
136 {
137 "name": "knownasilya",
138 "email": "[email protected]"
139 }
140 ],
141 "dist": {
142 "shasum": "df62d1e1a980ef60d1256f364d4f2695594d7ecb",
143 "tarball": "https://registry.npmjs.org/cli-width/-/cli-width-1.1.0.tgz"
144 },
145 "directories": {}
146 },
147 "1.1.1": {
148 "name": "cli-width",
149 "version": "1.1.1",
150 "description": "Get stdout window width, with two fallbacks, tty and then a default.",
151 "main": "index.js",
152 "scripts": {
153 "test": "node test | tspec",
154 "coverage": "isparta cover test/*.js | tspec",
155 "coveralls": "npm run coverage -s && coveralls < coverage/lcov.info",
156 "postcoveralls": "rimraf ./coverage"
157 },
158 "repository": {
159 "type": "git",
160 "url": "git+ssh://[email protected]/knownasilya/cli-width.git"
161 },
162 "author": {
163 "name": "Ilya Radchenko",
164 "email": "[email protected]"
165 },
166 "license": "ISC",
167 "bugs": {
168 "url": "https://github.com/knownasilya/cli-width/issues"
169 },
170 "homepage": "https://github.com/knownasilya/cli-width",
171 "devDependencies": {
172 "tap-spec": "^4.1.0",
173 "tape": "^3.4.0",
174 "coveralls": "^2.11.4",
175 "isparta": "^3.0.4",
176 "rimraf": "^2.4.3"
177 },
178 "gitHead": "353b24e4ebd754a748dbb07695cf1a02caf1d012",
179 "_id": "[email protected]",
180 "_shasum": "a4d293ef67ebb7b88d4a4d42c0ccf00c4d1e366d",
181 "_from": ".",
182 "_npmVersion": "2.14.7",
183 "_nodeVersion": "4.2.1",
184 "_npmUser": {
185 "name": "knownasilya",
186 "email": "[email protected]"
187 },
188 "maintainers": [
189 {
190 "name": "knownasilya",
191 "email": "[email protected]"
192 }
193 ],
194 "dist": {
195 "shasum": "a4d293ef67ebb7b88d4a4d42c0ccf00c4d1e366d",
196 "tarball": "https://registry.npmjs.org/cli-width/-/cli-width-1.1.1.tgz"
197 },
198 "directories": {}
199 },
200 "2.0.0": {
201 "name": "cli-width",
202 "version": "2.0.0",
203 "description": "Get stdout window width, with two fallbacks, tty and then a default.",
204 "main": "index.js",
205 "scripts": {
206 "test": "node test | tspec",
207 "coverage": "isparta cover test/*.js | tspec",
208 "coveralls": "npm run coverage -s && coveralls < coverage/lcov.info",
209 "postcoveralls": "rimraf ./coverage"
210 },
211 "repository": {
212 "type": "git",
213 "url": "git+ssh://[email protected]/knownasilya/cli-width.git"
214 },
215 "author": {
216 "name": "Ilya Radchenko",
217 "email": "[email protected]"
218 },
219 "license": "ISC",
220 "bugs": {
221 "url": "https://github.com/knownasilya/cli-width/issues"
222 },
223 "homepage": "https://github.com/knownasilya/cli-width",
224 "devDependencies": {
225 "tap-spec": "^4.1.0",
226 "tape": "^3.4.0",
227 "coveralls": "^2.11.4",
228 "isparta": "^3.0.4",
229 "rimraf": "^2.4.3"
230 },
231 "gitHead": "a81748923ff3cdbb49853cf96de490992097cbb5",
232 "_id": "[email protected]",
233 "_shasum": "067c42c5c92dc50f29d7cf4c5792c638c4d0b897",
234 "_from": ".",
235 "_npmVersion": "2.14.7",
236 "_nodeVersion": "4.2.1",
237 "_npmUser": {
238 "name": "knownasilya",
239 "email": "[email protected]"
240 },
241 "maintainers": [
242 {
243 "name": "knownasilya",
244 "email": "[email protected]"
245 }
246 ],
247 "dist": {
248 "shasum": "067c42c5c92dc50f29d7cf4c5792c638c4d0b897",
249 "tarball": "https://registry.npmjs.org/cli-width/-/cli-width-2.0.0.tgz"
250 },
251 "_npmOperationalInternal": {
252 "host": "packages-9-west.internal.npmjs.com",
253 "tmp": "tmp/cli-width-2.0.0.tgz_1454942077201_0.3669316528830677"
254 },
255 "directories": {}
256 },
257 "2.1.0": {
258 "name": "cli-width",
259 "version": "2.1.0",
260 "description": "Get stdout window width, with two fallbacks, tty and then a default.",
261 "main": "index.js",
262 "scripts": {
263 "test": "node test | tspec",
264 "coverage": "isparta cover test/*.js | tspec",
265 "coveralls": "npm run coverage -s && coveralls < coverage/lcov.info",
266 "postcoveralls": "rimraf ./coverage"
267 },
268 "repository": {
269 "type": "git",
270 "url": "git+ssh://[email protected]/knownasilya/cli-width.git"
271 },
272 "author": {
273 "name": "Ilya Radchenko",
274 "email": "[email protected]"
275 },
276 "license": "ISC",
277 "bugs": {
278 "url": "https://github.com/knownasilya/cli-width/issues"
279 },
280 "homepage": "https://github.com/knownasilya/cli-width",
281 "devDependencies": {
282 "tap-spec": "^4.1.0",
283 "tape": "^3.4.0",
284 "coveralls": "^2.11.4",
285 "isparta": "^3.0.4",
286 "rimraf": "^2.4.3"
287 },
288 "gitHead": "c9506fd74bd3863ff327f8f8892601fa4ac2dbb3",
289 "_id": "[email protected]",
290 "_shasum": "b234ca209b29ef66fc518d9b98d5847b00edf00a",
291 "_from": ".",
292 "_npmVersion": "2.14.12",
293 "_nodeVersion": "4.2.6",
294 "_npmUser": {
295 "name": "knownasilya",
296 "email": "[email protected]"
297 },
298 "maintainers": [
299 {
300 "name": "knownasilya",
301 "email": "[email protected]"
302 }
303 ],
304 "dist": {
305 "shasum": "b234ca209b29ef66fc518d9b98d5847b00edf00a",
306 "tarball": "https://registry.npmjs.org/cli-width/-/cli-width-2.1.0.tgz"
307 },
308 "_npmOperationalInternal": {
309 "host": "packages-9-west.internal.npmjs.com",
310 "tmp": "tmp/cli-width-2.1.0.tgz_1455570612101_0.2879865295253694"
311 },
312 "directories": {}
313 },
314 "2.1.1": {
315 "name": "cli-width",
316 "version": "2.1.1",
317 "description": "Get stdout window width, with two fallbacks, tty and then a default.",
318 "main": "index.js",
319 "scripts": {
320 "test": "node test | tspec",
321 "coverage": "isparta cover test/*.js | tspec",
322 "coveralls": "npm run coverage -s && coveralls < coverage/lcov.info",
323 "postcoveralls": "rimraf ./coverage",
324 "release": "standard-version"
325 },
326 "repository": {
327 "type": "git",
328 "url": "git+ssh://[email protected]/knownasilya/cli-width.git"
329 },
330 "author": {
331 "name": "Ilya Radchenko",
332 "email": "[email protected]"
333 },
334 "license": "ISC",
335 "bugs": {
336 "url": "https://github.com/knownasilya/cli-width/issues"
337 },
338 "homepage": "https://github.com/knownasilya/cli-width",
339 "devDependencies": {
340 "coveralls": "^2.11.4",
341 "isparta": "^3.0.4",
342 "rimraf": "^2.4.3",
343 "standard-version": "^4.2.0",
344 "tap-spec": "^4.1.0",
345 "tape": "^3.4.0"
346 },
347 "gitHead": "6d7cc28bdcd8b9e17b2611c332f17ff8ca2c0115",
348 "_id": "[email protected]",
349 "_shasum": "d39c1ba0008fa7a6fc689a04197a277ba9ee05bc",
350 "_from": ".",
351 "_npmVersion": "4.6.1",
352 "_nodeVersion": "6.9.4",
353 "_npmUser": {
354 "name": "knownasilya",
355 "email": "[email protected]"
356 },
357 "dist": {
358 "shasum": "d39c1ba0008fa7a6fc689a04197a277ba9ee05bc",
359 "tarball": "https://registry.npmjs.org/cli-width/-/cli-width-2.1.1.tgz"
360 },
361 "maintainers": [
362 {
363 "name": "knownasilya",
364 "email": "[email protected]"
365 }
366 ],
367 "_npmOperationalInternal": {
368 "host": "s3://npm-registry-packages",
369 "tmp": "tmp/cli-width-2.1.1.tgz_1503408530248_0.24596149008721113"
370 },
371 "directories": {}
372 },
373 "2.2.0": {
374 "name": "cli-width",
375 "version": "2.2.0",
376 "description": "Get stdout window width, with two fallbacks, tty and then a default.",
377 "main": "index.js",
378 "scripts": {
379 "test": "node test | tspec",
380 "coverage": "isparta cover test/*.js | tspec",
381 "coveralls": "npm run coverage -s && coveralls < coverage/lcov.info",
382 "postcoveralls": "rimraf ./coverage",
383 "release": "standard-version"
384 },
385 "repository": {
386 "type": "git",
387 "url": "git+ssh://[email protected]/knownasilya/cli-width.git"
388 },
389 "author": {
390 "name": "Ilya Radchenko",
391 "email": "[email protected]"
392 },
393 "license": "ISC",
394 "bugs": {
395 "url": "https://github.com/knownasilya/cli-width/issues"
396 },
397 "homepage": "https://github.com/knownasilya/cli-width",
398 "devDependencies": {
399 "coveralls": "^2.11.4",
400 "isparta": "^3.0.4",
401 "rimraf": "^2.4.3",
402 "standard-version": "^4.2.0",
403 "tap-spec": "^4.1.0",
404 "tape": "^3.4.0"
405 },
406 "gitHead": "176376e902a7d9fde3d82c885978e6d13d6496fc",
407 "_id": "[email protected]",
408 "_shasum": "ff19ede8a9a5e579324147b0c11f0fbcbabed639",
409 "_from": ".",
410 "_npmVersion": "4.6.1",
411 "_nodeVersion": "6.9.4",
412 "_npmUser": {
413 "name": "knownasilya",
414 "email": "[email protected]"
415 },
416 "dist": {
417 "shasum": "ff19ede8a9a5e579324147b0c11f0fbcbabed639",
418 "tarball": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz"
419 },
420 "maintainers": [
421 {
422 "name": "knownasilya",
423 "email": "[email protected]"
424 },
425 {
426 "name": "sboudrias",
427 "email": "[email protected]"
428 }
429 ],
430 "_npmOperationalInternal": {
431 "host": "s3://npm-registry-packages",
432 "tmp": "tmp/cli-width-2.2.0.tgz_1503409565255_0.3628303287550807"
433 },
434 "directories": {}
435 },
436 "2.2.1": {
437 "name": "cli-width",
438 "version": "2.2.1",
439 "description": "Get stdout window width, with two fallbacks, tty and then a default.",
440 "main": "index.js",
441 "scripts": {
442 "test": "node test | tspec",
443 "coverage": "nyc node test | tspec",
444 "coveralls": "npm run coverage -s && coveralls < coverage/lcov.info",
445 "release": "standard-version"
446 },
447 "repository": {
448 "type": "git",
449 "url": "git+ssh://[email protected]/knownasilya/cli-width.git"
450 },
451 "author": {
452 "name": "Ilya Radchenko",
453 "email": "[email protected]"
454 },
455 "license": "ISC",
456 "bugs": {
457 "url": "https://github.com/knownasilya/cli-width/issues"
458 },
459 "homepage": "https://github.com/knownasilya/cli-width",
460 "devDependencies": {
461 "coveralls": "^3.0.11",
462 "nyc": "^15.0.1",
463 "standard-version": "^7.1.0",
464 "tap-spec": "^5.0.0",
465 "tape": "^4.13.2"
466 },
467 "gitHead": "271bf678a0925cc5f400404cfc78ffb71e7057e6",
468 "_id": "[email protected]",
469 "_nodeVersion": "12.16.0",
470 "_npmVersion": "6.13.4",
471 "dist": {
472 "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==",
473 "shasum": "b0433d0b4e9c847ef18868a4ef16fd5fc8271c48",
474 "tarball": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz",
475 "fileCount": 9,
476 "unpackedSize": 11189,
477 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeldKSCRA9TVsSAnZWagAANy0P/1STRKiOyZfQQIJwDYCD\nKmuLqSMMns4rmcGCs0xlxrX9WwVm+h+Wk6Hc4dC0O1GKz85QgtZiZg+WTafc\nFeOZvm6oGAKo5hCGmZ/YNBKZyPMRGdzzjxa1smfDaKbj2Uppj1lKLiG9dLx+\nllzFaURmq7tA1fLJt0ze2T48Vb6ea3SjBUIpAKcsu+kWzs5qYSzFJRcA7sLj\nO+7K5nHxs5mcpTR+g3i5MQOojntvJ2ehdmRcmdQoOm9TwW+6GqPDawTk2Hf8\nHC+GkPN4vtW4aVOmxdCLrdP5fyltpoFTPyCNnQNz1ed9GMm9tQJ8Asu6pWTS\nGRmTXhu+xA2f8IrFzKSJQtwExNZVQm6YqBr2oEFP+BJUxJ9osNd8s8cz1qri\ns+KckAZRJLFum9uJNpswyOhqU2pIBSwyD3BTVCiSFcRTwQ6E/yE0kPc3vwhO\n+oBeEqs7BEGtQztlqrOeT5i5X2cQfT4YkUb15b973NXl2XU9qEuI3xq1kujS\nMkjxn4i6xBswryJDrwcLyLHWahPIpW8xmWG1GGnWg8AwU3h7ByGXMidgVmYB\nZnf/qRzXMt1RLqOfg1WcuJvrWlsoirDGbUIVCe6Aso/4XNzk1mfD0SiwO9/H\nXD7VBQxwBvJGOJxbqK+iKkECap63rBDD0dZaGu/xMjqJtBsZNysk8n/goZs7\nEqni\r\n=nJn+\r\n-----END PGP SIGNATURE-----\r\n"
478 },
479 "maintainers": [
480 {
481 "name": "knownasilya",
482 "email": "[email protected]"
483 },
484 {
485 "name": "sboudrias",
486 "email": "[email protected]"
487 }
488 ],
489 "_npmUser": {
490 "name": "knownasilya",
491 "email": "[email protected]"
492 },
493 "directories": {},
494 "_npmOperationalInternal": {
495 "host": "s3://npm-registry-packages",
496 "tmp": "tmp/cli-width_2.2.1_1586877074212_0.7202057873507315"
497 },
498 "_hasShrinkwrap": false
499 },
500 "3.0.0": {
501 "name": "cli-width",
502 "version": "3.0.0",
503 "description": "Get stdout window width, with two fallbacks, tty and then a default.",
504 "main": "index.js",
505 "scripts": {
506 "test": "node test | tspec",
507 "coverage": "nyc node test | tspec",
508 "coveralls": "npm run coverage -s && coveralls < coverage/lcov.info",
509 "release": "standard-version"
510 },
511 "repository": {
512 "type": "git",
513 "url": "git+ssh://[email protected]/knownasilya/cli-width.git"
514 },
515 "author": {
516 "name": "Ilya Radchenko",
517 "email": "[email protected]"
518 },
519 "license": "ISC",
520 "bugs": {
521 "url": "https://github.com/knownasilya/cli-width/issues"
522 },
523 "homepage": "https://github.com/knownasilya/cli-width",
524 "engines": {
525 "node": ">= 10"
526 },
527 "devDependencies": {
528 "coveralls": "^3.0.11",
529 "nyc": "^15.0.1",
530 "standard-version": "^7.1.0",
531 "tap-spec": "^5.0.0",
532 "tape": "^4.13.2"
533 },
534 "gitHead": "c96cf6e8b9a02256ded31e412490e29dbad30603",
535 "_id": "[email protected]",
536 "_nodeVersion": "12.16.0",
537 "_npmVersion": "6.13.4",
538 "dist": {
539 "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==",
540 "shasum": "a2f48437a2caa9a22436e794bf071ec9e61cedf6",
541 "tarball": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz",
542 "fileCount": 9,
543 "unpackedSize": 11494,
544 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeldVmCRA9TVsSAnZWagAAvmsP/RZeOb9v056ITvwOmYQt\npdnoizv359Aho6K4fpJ5Ooxpeca+baQ8/1Ik8SDscuji2LyYm12LQR3Dvjac\n+tkleotn3CNzI1iyAkubPaBtntvCEzKPZD7xY8pJiOr6J7OKLa5WL4fAXFF3\nIzSgjfaO1wOyEFWDp3dlkBPtGiJVBLPrkOlEOz+sFiZhKqC+8KGHdLcvdA+P\nQPiSGtl3ewRerqBq1otz33iTraj7LEy/1pOTTs0+ccsJTctcFwPFIeXM6hnp\nSbZCzsNsSBdbcvjuBbmRFVOu12ajzLiEWw/lOTC1S9d0jI7A65Jw3t46A8vn\nBy2abgmhxcQ6HlaEY7Jrw9tKucbllRFXxSBaF+0LTdPbOWeKJoCzfm8zD/DT\nw3yRrZ815IwjQgwhUAIVI8oh/QPIrYS6+WHFNk2Cq4SGItaKSmOgy1DFl9Ja\n24g57GYnprXEOS1r5GPFOPRcRsSB9U2UJkfjIQ63n7bVbDx3mvje8o4XoAKr\ng+SMzY05ZUZC0h27YVbiAmSHsnH6AOumiVGR7r1QmpRun1etPrpnskzsUbyO\nyYPzOBED0lxzGL1NqvBQImXxsaK1MCKgdwVHIixDOoxiFtSwTHE9O39Qcvjk\nvPk7LX0GRhRLi1UzwfbUoPbmenKr8ZAD10I5s0bm8lIeDqMN8fzR0g8wOGE2\nFiOg\r\n=mluF\r\n-----END PGP SIGNATURE-----\r\n"
545 },
546 "maintainers": [
547 {
548 "name": "knownasilya",
549 "email": "[email protected]"
550 },
551 {
552 "name": "sboudrias",
553 "email": "[email protected]"
554 }
555 ],
556 "_npmUser": {
557 "name": "knownasilya",
558 "email": "[email protected]"
559 },
560 "directories": {},
561 "_npmOperationalInternal": {
562 "host": "s3://npm-registry-packages",
563 "tmp": "tmp/cli-width_3.0.0_1586877798281_0.1335442509204645"
564 },
565 "_hasShrinkwrap": false
566 }
567 },
568 "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 NodeJS v10+\n\n## Usage\n\n```\nnpm install --save cli-width\n```\n\n```js\n\"use strict\";\n\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",
569 "maintainers": [
570 {
571 "name": "knownasilya",
572 "email": "[email protected]"
573 },
574 {
575 "name": "sboudrias",
576 "email": "[email protected]"
577 }
578 ],
579 "time": {
580 "modified": "2020-04-14T15:23:20.823Z",
581 "created": "2015-01-21T20:33:19.178Z",
582 "1.0.0": "2015-01-21T20:33:19.178Z",
583 "1.0.1": "2015-01-22T14:29:57.778Z",
584 "1.1.0": "2015-10-16T12:28:23.132Z",
585 "1.1.1": "2016-01-26T00:31:16.054Z",
586 "2.0.0": "2016-02-08T14:34:40.031Z",
587 "2.1.0": "2016-02-15T21:10:15.968Z",
588 "2.1.1": "2017-08-22T13:28:51.196Z",
589 "2.2.0": "2017-08-22T13:46:06.289Z",
590 "2.2.1": "2020-04-14T15:11:14.372Z",
591 "3.0.0": "2020-04-14T15:23:18.434Z"
592 },
593 "homepage": "https://github.com/knownasilya/cli-width",
594 "repository": {
595 "type": "git",
596 "url": "git+ssh://[email protected]/knownasilya/cli-width.git"
597 },
598 "author": {
599 "name": "Ilya Radchenko",
600 "email": "[email protected]"
601 },
602 "bugs": {
603 "url": "https://github.com/knownasilya/cli-width/issues"
604 },
605 "license": "ISC",
606 "readmeFilename": "README.md",
607 "users": {
608 "knownasilya": true
609 }
610 }