Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/window-size.json

raw
1 {
2 "_id": "window-size",
3 "_rev": "22-3494e109a877b755fb5f55ac629b04b4",
4 "name": "window-size",
5 "description": "Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.",
6 "dist-tags": {
7 "latest": "1.1.1"
8 },
9 "versions": {
10 "0.1.0": {
11 "name": "window-size",
12 "description": "Reliable way to to get the height and width of the terminal/console in a node.js environment.",
13 "version": "0.1.0",
14 "homepage": "https://github.com/jonschlinkert/window-size",
15 "author": {
16 "name": "Jon Schlinkert",
17 "url": "https://github.com/jonschlinkert"
18 },
19 "repository": {
20 "type": "git",
21 "url": "https://github.com/jonschlinkert/window-size.git"
22 },
23 "bugs": {
24 "url": "https://github.com/jonschlinkert/window-size/issues"
25 },
26 "licenses": [
27 {
28 "type": "MIT",
29 "url": "https://github.com/jonschlinkert/window-size/blob/master/LICENSE-MIT"
30 }
31 ],
32 "main": "index.js",
33 "engines": {
34 "node": ">= 0.8.0"
35 },
36 "keywords": [
37 "window",
38 "console",
39 "terminal",
40 "tty"
41 ],
42 "_id": "[email protected]",
43 "dist": {
44 "shasum": "5438cd2ea93b202efa3a19fe8887aee7c94f9c9d",
45 "tarball": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz"
46 },
47 "_from": ".",
48 "_npmVersion": "1.3.24",
49 "_npmUser": {
50 "name": "jonschlinkert",
51 "email": "[email protected]"
52 },
53 "maintainers": [
54 {
55 "name": "jonschlinkert",
56 "email": "[email protected]"
57 }
58 ],
59 "directories": {}
60 },
61 "0.1.1": {
62 "name": "window-size",
63 "description": "Reliable way to to get the height and width of the terminal/console in a node.js environment.",
64 "version": "0.1.1",
65 "homepage": "https://github.com/jonschlinkert/window-size",
66 "author": {
67 "name": "Jon Schlinkert",
68 "url": "https://github.com/jonschlinkert"
69 },
70 "repository": {
71 "type": "git",
72 "url": "git+https://github.com/jonschlinkert/window-size.git"
73 },
74 "bugs": {
75 "url": "https://github.com/jonschlinkert/window-size/issues"
76 },
77 "license": "MIT",
78 "files": [
79 "index.js"
80 ],
81 "main": "index.js",
82 "engines": {
83 "node": ">= 0.10.0"
84 },
85 "keywords": [
86 "console",
87 "height",
88 "resize",
89 "size",
90 "terminal",
91 "tty",
92 "width",
93 "window"
94 ],
95 "gitHead": "2bac24abaa4e4744df5c4b41f6f42b16f2b47302",
96 "_id": "[email protected]",
97 "scripts": {},
98 "_shasum": "976f3471f56c21d7cb6ebfd4b7616865a1629258",
99 "_from": ".",
100 "_npmVersion": "2.10.1",
101 "_nodeVersion": "0.12.4",
102 "_npmUser": {
103 "name": "jonschlinkert",
104 "email": "[email protected]"
105 },
106 "maintainers": [
107 {
108 "name": "jonschlinkert",
109 "email": "[email protected]"
110 }
111 ],
112 "dist": {
113 "shasum": "976f3471f56c21d7cb6ebfd4b7616865a1629258",
114 "tarball": "https://registry.npmjs.org/window-size/-/window-size-0.1.1.tgz"
115 },
116 "directories": {}
117 },
118 "0.1.2": {
119 "name": "window-size",
120 "description": "Reliable way to to get the height and width of the terminal/console in a node.js environment.",
121 "version": "0.1.2",
122 "homepage": "https://github.com/jonschlinkert/window-size",
123 "author": {
124 "name": "Jon Schlinkert",
125 "url": "https://github.com/jonschlinkert"
126 },
127 "repository": {
128 "type": "git",
129 "url": "git+https://github.com/jonschlinkert/window-size.git"
130 },
131 "bin": {
132 "window-size": "cli.js"
133 },
134 "bugs": {
135 "url": "https://github.com/jonschlinkert/window-size/issues"
136 },
137 "license": "MIT",
138 "files": [
139 "index.js",
140 "cli.js"
141 ],
142 "main": "index.js",
143 "engines": {
144 "node": ">= 0.10.0"
145 },
146 "keywords": [
147 "console",
148 "height",
149 "resize",
150 "size",
151 "terminal",
152 "tty",
153 "width",
154 "window"
155 ],
156 "gitHead": "e294ae2532db4bf88b375c13099b0af27ecfb1ec",
157 "_id": "[email protected]",
158 "scripts": {},
159 "_shasum": "10d53f0f8ee867e3a851f0be0e3100872329db3a",
160 "_from": ".",
161 "_npmVersion": "2.10.1",
162 "_nodeVersion": "0.12.4",
163 "_npmUser": {
164 "name": "jonschlinkert",
165 "email": "[email protected]"
166 },
167 "maintainers": [
168 {
169 "name": "jonschlinkert",
170 "email": "[email protected]"
171 }
172 ],
173 "dist": {
174 "shasum": "10d53f0f8ee867e3a851f0be0e3100872329db3a",
175 "tarball": "https://registry.npmjs.org/window-size/-/window-size-0.1.2.tgz"
176 },
177 "directories": {}
178 },
179 "0.1.3": {
180 "name": "window-size",
181 "description": "Reliable way to to get the height and width of the terminal/console in a node.js environment.",
182 "version": "0.1.3",
183 "homepage": "https://github.com/jonschlinkert/window-size",
184 "author": {
185 "name": "Jon Schlinkert",
186 "url": "https://github.com/jonschlinkert"
187 },
188 "scripts": {
189 "pretest": "semistandard",
190 "test": "tap --coverage test.js"
191 },
192 "repository": {
193 "type": "git",
194 "url": "git+https://github.com/jonschlinkert/window-size.git"
195 },
196 "bin": {
197 "window-size": "cli.js"
198 },
199 "bugs": {
200 "url": "https://github.com/jonschlinkert/window-size/issues"
201 },
202 "license": "MIT",
203 "files": [
204 "index.js",
205 "cli.js"
206 ],
207 "main": "index.js",
208 "engines": {
209 "node": ">= 0.10.0"
210 },
211 "keywords": [
212 "console",
213 "height",
214 "resize",
215 "size",
216 "terminal",
217 "tty",
218 "width",
219 "window"
220 ],
221 "devDependencies": {
222 "semistandard": "^7.0.2",
223 "tap": "^2.2.1"
224 },
225 "gitHead": "b5fb901f06df8982af9e0c6bdf7680985c455bea",
226 "_id": "[email protected]",
227 "_shasum": "62189604c76db51757950eab93d200622ea5c64c",
228 "_from": ".",
229 "_npmVersion": "3.3.6",
230 "_nodeVersion": "5.0.0",
231 "_npmUser": {
232 "name": "jonschlinkert",
233 "email": "[email protected]"
234 },
235 "maintainers": [
236 {
237 "name": "jonschlinkert",
238 "email": "[email protected]"
239 },
240 {
241 "name": "doowb",
242 "email": "[email protected]"
243 }
244 ],
245 "dist": {
246 "shasum": "62189604c76db51757950eab93d200622ea5c64c",
247 "tarball": "https://registry.npmjs.org/window-size/-/window-size-0.1.3.tgz"
248 },
249 "directories": {}
250 },
251 "0.1.4": {
252 "name": "window-size",
253 "description": "Reliable way to to get the height and width of the terminal/console in a node.js environment.",
254 "version": "0.1.4",
255 "homepage": "https://github.com/jonschlinkert/window-size",
256 "author": {
257 "name": "Jon Schlinkert",
258 "url": "https://github.com/jonschlinkert"
259 },
260 "repository": {
261 "type": "git",
262 "url": "git+https://github.com/jonschlinkert/window-size.git"
263 },
264 "bugs": {
265 "url": "https://github.com/jonschlinkert/window-size/issues"
266 },
267 "license": "MIT",
268 "files": [
269 "index.js",
270 "cli.js"
271 ],
272 "main": "index.js",
273 "engines": {
274 "node": ">= 0.10.0"
275 },
276 "scripts": {
277 "pretest": "semistandard",
278 "test": "tap --coverage test.js"
279 },
280 "bin": {
281 "window-size": "cli.js"
282 },
283 "devDependencies": {
284 "semistandard": "^7.0.2",
285 "tap": "^2.2.1"
286 },
287 "keywords": [
288 "console",
289 "height",
290 "resize",
291 "size",
292 "terminal",
293 "tty",
294 "width",
295 "window"
296 ],
297 "verb": {
298 "related": {
299 "list": [
300 "yargs",
301 "lint-deps",
302 "base-cli"
303 ]
304 }
305 },
306 "gitHead": "619d0da99254adc5c6059c84e3ec2b24564add46",
307 "_id": "[email protected]",
308 "_shasum": "f8e1aa1ee5a53ec5bf151ffa09742a6ad7697876",
309 "_from": ".",
310 "_npmVersion": "3.3.6",
311 "_nodeVersion": "5.0.0",
312 "_npmUser": {
313 "name": "jonschlinkert",
314 "email": "[email protected]"
315 },
316 "maintainers": [
317 {
318 "name": "jonschlinkert",
319 "email": "[email protected]"
320 },
321 {
322 "name": "doowb",
323 "email": "[email protected]"
324 }
325 ],
326 "dist": {
327 "shasum": "f8e1aa1ee5a53ec5bf151ffa09742a6ad7697876",
328 "tarball": "https://registry.npmjs.org/window-size/-/window-size-0.1.4.tgz"
329 },
330 "directories": {}
331 },
332 "0.2.0": {
333 "name": "window-size",
334 "description": "Reliable way to to get the height and width of the terminal/console in a node.js environment.",
335 "version": "0.2.0",
336 "homepage": "https://github.com/jonschlinkert/window-size",
337 "author": {
338 "name": "Jon Schlinkert",
339 "url": "https://github.com/jonschlinkert"
340 },
341 "repository": {
342 "type": "git",
343 "url": "git+https://github.com/jonschlinkert/window-size.git"
344 },
345 "bugs": {
346 "url": "https://github.com/jonschlinkert/window-size/issues"
347 },
348 "license": "MIT",
349 "files": [
350 "index.js",
351 "cli.js"
352 ],
353 "main": "index.js",
354 "engines": {
355 "node": ">= 0.10.0"
356 },
357 "scripts": {
358 "pretest": "semistandard",
359 "test": "tap --coverage test.js"
360 },
361 "bin": {
362 "window-size": "cli.js"
363 },
364 "devDependencies": {
365 "semistandard": "^7.0.2",
366 "tap": "^2.2.1"
367 },
368 "keywords": [
369 "console",
370 "height",
371 "resize",
372 "size",
373 "terminal",
374 "tty",
375 "width",
376 "window"
377 ],
378 "verb": {
379 "related": {
380 "list": [
381 "yargs",
382 "lint-deps",
383 "base-cli"
384 ]
385 }
386 },
387 "gitHead": "538b4406a6f30c9a2c8f84ba38bb34a39775bd2b",
388 "_id": "[email protected]",
389 "_shasum": "b4315bb4214a3d7058ebeee892e13fa24d98b075",
390 "_from": ".",
391 "_npmVersion": "3.3.12",
392 "_nodeVersion": "5.3.0",
393 "_npmUser": {
394 "name": "jonschlinkert",
395 "email": "[email protected]"
396 },
397 "maintainers": [
398 {
399 "name": "jonschlinkert",
400 "email": "[email protected]"
401 },
402 {
403 "name": "doowb",
404 "email": "[email protected]"
405 }
406 ],
407 "dist": {
408 "shasum": "b4315bb4214a3d7058ebeee892e13fa24d98b075",
409 "tarball": "https://registry.npmjs.org/window-size/-/window-size-0.2.0.tgz"
410 },
411 "directories": {}
412 },
413 "0.3.0": {
414 "name": "window-size",
415 "description": "Reliable way to to get the height and width of the terminal/console in a node.js environment.",
416 "version": "0.3.0",
417 "homepage": "https://github.com/jonschlinkert/window-size",
418 "author": {
419 "name": "Jon Schlinkert",
420 "url": "https://github.com/jonschlinkert"
421 },
422 "contributors": [
423 {
424 "name": "Benjamin E. Coe",
425 "email": "[email protected]",
426 "url": "https://twitter.com/benjamincoe"
427 },
428 {
429 "name": "Carlos Hernández Gómez",
430 "url": "https://github.com/karliky"
431 },
432 {
433 "name": "Jon Schlinkert",
434 "email": "[email protected]",
435 "url": "http://twitter.com/jonschlinkert"
436 },
437 {
438 "name": "Siddharth Kannan",
439 "email": "[email protected]",
440 "url": "http://www.icyflame.me"
441 }
442 ],
443 "repository": {
444 "type": "git",
445 "url": "git+https://github.com/jonschlinkert/window-size.git"
446 },
447 "bugs": {
448 "url": "https://github.com/jonschlinkert/window-size/issues"
449 },
450 "license": "MIT",
451 "files": [
452 "cli.js",
453 "index.js"
454 ],
455 "main": "index.js",
456 "bin": {
457 "window-size": "cli.js"
458 },
459 "engines": {
460 "node": ">= 0.10.0"
461 },
462 "scripts": {
463 "test": "tap --coverage test.js"
464 },
465 "devDependencies": {
466 "gulp-format-md": "^0.1.11",
467 "semistandard": "^9.2.1",
468 "tap": "^8.0.1"
469 },
470 "keywords": [
471 "console",
472 "height",
473 "resize",
474 "size",
475 "terminal",
476 "tty",
477 "width",
478 "window"
479 ],
480 "verb": {
481 "related": {
482 "list": [
483 "base-cli",
484 "lint-deps",
485 "yargs"
486 ]
487 },
488 "toc": false,
489 "layout": "default",
490 "tasks": [
491 "readme"
492 ],
493 "plugins": [
494 "gulp-format-md"
495 ],
496 "lint": {
497 "reflinks": true
498 },
499 "reflinks": [
500 "verb",
501 "verb-generate-readme"
502 ]
503 },
504 "gitHead": "4e43a7002ec4d0a1540ea2716fd404b105080938",
505 "_id": "[email protected]",
506 "_shasum": "b8f0b66e325d22160751e496337e44b45b727546",
507 "_from": ".",
508 "_npmVersion": "3.10.9",
509 "_nodeVersion": "6.9.2",
510 "_npmUser": {
511 "name": "jonschlinkert",
512 "email": "[email protected]"
513 },
514 "maintainers": [
515 {
516 "name": "jonschlinkert",
517 "email": "[email protected]"
518 },
519 {
520 "name": "doowb",
521 "email": "[email protected]"
522 }
523 ],
524 "dist": {
525 "shasum": "b8f0b66e325d22160751e496337e44b45b727546",
526 "tarball": "https://registry.npmjs.org/window-size/-/window-size-0.3.0.tgz"
527 },
528 "_npmOperationalInternal": {
529 "host": "packages-18-east.internal.npmjs.com",
530 "tmp": "tmp/window-size-0.3.0.tgz_1481394068971_0.060673162806779146"
531 },
532 "directories": {}
533 },
534 "1.0.0": {
535 "name": "window-size",
536 "description": "Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.",
537 "version": "1.0.0",
538 "homepage": "https://github.com/jonschlinkert/window-size",
539 "author": {
540 "name": "Jon Schlinkert",
541 "url": "https://github.com/jonschlinkert"
542 },
543 "contributors": [
544 {
545 "name": "Benjamin E. Coe",
546 "url": "https://twitter.com/benjamincoe"
547 },
548 {
549 "name": "Carlos Hernández Gómez",
550 "url": "http://www.twitter.com/k4rliky"
551 },
552 {
553 "name": "Jannis Redmann",
554 "url": "http://jannisr.de"
555 },
556 {
557 "name": "Jon Schlinkert",
558 "url": "http://twitter.com/jonschlinkert"
559 },
560 {
561 "name": "Siddharth Kannan",
562 "url": "http://icyflame.github.io"
563 }
564 ],
565 "repository": {
566 "type": "git",
567 "url": "git+https://github.com/jonschlinkert/window-size.git"
568 },
569 "bugs": {
570 "url": "https://github.com/jonschlinkert/window-size/issues"
571 },
572 "license": "MIT",
573 "files": [
574 "cli.js",
575 "index.js"
576 ],
577 "main": "index.js",
578 "bin": {
579 "window-size": "cli.js"
580 },
581 "engines": {
582 "node": ">= 0.10.0"
583 },
584 "dependencies": {
585 "define-property": "^1.0.0",
586 "is-number": "^3.0.0"
587 },
588 "devDependencies": {
589 "gulp-format-md": "^0.1.12",
590 "justified": "^0.2.1",
591 "mocha": "^3.3.0"
592 },
593 "keywords": [
594 "columns",
595 "console",
596 "darwin",
597 "height",
598 "lines",
599 "redirected",
600 "resize",
601 "rows",
602 "size",
603 "term",
604 "term-size",
605 "terminal",
606 "tty",
607 "unix",
608 "width",
609 "win",
610 "window",
611 "windows"
612 ],
613 "verb": {
614 "related": {
615 "list": [
616 "base-cli",
617 "lint-deps",
618 "yargs"
619 ]
620 },
621 "toc": false,
622 "layout": "default",
623 "tasks": [
624 "readme"
625 ],
626 "plugins": [
627 "gulp-format-md"
628 ],
629 "lint": {
630 "reflinks": true
631 }
632 },
633 "gitHead": "bb586fe68011f3859be7ed964e0922f13965fa29",
634 "_id": "[email protected]",
635 "scripts": {},
636 "_shasum": "cd56f763f0b6f3a9ddc9fd9d6e4737d372e91062",
637 "_from": ".",
638 "_npmVersion": "4.2.0",
639 "_nodeVersion": "7.7.3",
640 "_npmUser": {
641 "name": "jonschlinkert",
642 "email": "[email protected]"
643 },
644 "maintainers": [
645 {
646 "name": "jonschlinkert",
647 "email": "[email protected]"
648 },
649 {
650 "name": "doowb",
651 "email": "[email protected]"
652 }
653 ],
654 "dist": {
655 "shasum": "cd56f763f0b6f3a9ddc9fd9d6e4737d372e91062",
656 "tarball": "https://registry.npmjs.org/window-size/-/window-size-1.0.0.tgz"
657 },
658 "_npmOperationalInternal": {
659 "host": "packages-18-east.internal.npmjs.com",
660 "tmp": "tmp/window-size-1.0.0.tgz_1494144925590_0.0547757048625499"
661 },
662 "directories": {}
663 },
664 "1.1.0": {
665 "name": "window-size",
666 "description": "Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.",
667 "version": "1.1.0",
668 "homepage": "https://github.com/jonschlinkert/window-size",
669 "author": {
670 "name": "Jon Schlinkert",
671 "url": "https://github.com/jonschlinkert"
672 },
673 "contributors": [
674 {
675 "name": "Benjamin E. Coe",
676 "url": "https://twitter.com/benjamincoe"
677 },
678 {
679 "name": "Brian Woodward",
680 "url": "https://twitter.com/doowb"
681 },
682 {
683 "name": "Carlos Hernández Gómez",
684 "url": "http://www.twitter.com/k4rliky"
685 },
686 {
687 "name": "Jannis Redmann",
688 "url": "http://jannisr.de"
689 },
690 {
691 "name": "Jon Schlinkert",
692 "url": "http://twitter.com/jonschlinkert"
693 },
694 {
695 "name": "Siddharth Kannan",
696 "url": "http://icyflame.github.io"
697 }
698 ],
699 "repository": {
700 "type": "git",
701 "url": "git+https://github.com/jonschlinkert/window-size.git"
702 },
703 "bugs": {
704 "url": "https://github.com/jonschlinkert/window-size/issues"
705 },
706 "license": "MIT",
707 "files": [
708 "cli.js",
709 "index.js",
710 "utils.js"
711 ],
712 "main": "index.js",
713 "bin": {
714 "window-size": "cli.js"
715 },
716 "engines": {
717 "node": ">= 0.10.0"
718 },
719 "scripts": {
720 "test": "mocha"
721 },
722 "dependencies": {
723 "define-property": "^1.0.0",
724 "is-number": "^3.0.0"
725 },
726 "devDependencies": {
727 "gulp-format-md": "^0.1.12",
728 "justified": "^0.2.1",
729 "mocha": "^3.3.0"
730 },
731 "keywords": [
732 "columns",
733 "console",
734 "darwin",
735 "height",
736 "lines",
737 "redirected",
738 "resize",
739 "rows",
740 "size",
741 "term",
742 "term-size",
743 "terminal",
744 "tty",
745 "unix",
746 "width",
747 "win",
748 "window",
749 "windows"
750 ],
751 "verb": {
752 "related": {
753 "list": [
754 "base-cli",
755 "lint-deps",
756 "yargs"
757 ]
758 },
759 "toc": false,
760 "layout": "default",
761 "tasks": [
762 "readme"
763 ],
764 "plugins": [
765 "gulp-format-md"
766 ],
767 "lint": {
768 "reflinks": true
769 }
770 },
771 "gitHead": "fe2d2c1f8603d187f7fee1cfdb0cd5cc72f1dd52",
772 "_id": "[email protected]",
773 "_shasum": "3b402d3244f35561db2c9761ad9d1e5286b07a2d",
774 "_from": ".",
775 "_npmVersion": "4.6.1",
776 "_nodeVersion": "6.10.1",
777 "_npmUser": {
778 "name": "doowb",
779 "email": "[email protected]"
780 },
781 "dist": {
782 "shasum": "3b402d3244f35561db2c9761ad9d1e5286b07a2d",
783 "tarball": "https://registry.npmjs.org/window-size/-/window-size-1.1.0.tgz"
784 },
785 "maintainers": [
786 {
787 "name": "jonschlinkert",
788 "email": "[email protected]"
789 },
790 {
791 "name": "doowb",
792 "email": "[email protected]"
793 }
794 ],
795 "_npmOperationalInternal": {
796 "host": "s3://npm-registry-packages",
797 "tmp": "tmp/window-size-1.1.0.tgz_1498230871960_0.6713659495580941"
798 },
799 "directories": {}
800 },
801 "1.1.1": {
802 "name": "window-size",
803 "description": "Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.",
804 "version": "1.1.1",
805 "homepage": "https://github.com/jonschlinkert/window-size",
806 "author": {
807 "name": "Jon Schlinkert",
808 "url": "https://github.com/jonschlinkert"
809 },
810 "contributors": [
811 {
812 "name": "Benjamin E. Coe",
813 "url": "https://twitter.com/benjamincoe"
814 },
815 {
816 "name": "Brian Woodward",
817 "url": "https://twitter.com/doowb"
818 },
819 {
820 "name": "Carlos Hernández Gómez",
821 "url": "http://www.twitter.com/k4rliky"
822 },
823 {
824 "name": "Jannis Redmann",
825 "url": "http://jannisr.de"
826 },
827 {
828 "name": "Jon Schlinkert",
829 "url": "http://twitter.com/jonschlinkert"
830 },
831 {
832 "name": "Siddharth Kannan",
833 "url": "http://icyflame.github.io"
834 }
835 ],
836 "repository": {
837 "type": "git",
838 "url": "git+https://github.com/jonschlinkert/window-size.git"
839 },
840 "bugs": {
841 "url": "https://github.com/jonschlinkert/window-size/issues"
842 },
843 "license": "MIT",
844 "files": [
845 "cli.js",
846 "index.js",
847 "utils.js"
848 ],
849 "main": "index.js",
850 "bin": {
851 "window-size": "cli.js"
852 },
853 "engines": {
854 "node": ">= 0.10.0"
855 },
856 "scripts": {
857 "test": "mocha"
858 },
859 "dependencies": {
860 "define-property": "^1.0.0",
861 "is-number": "^3.0.0"
862 },
863 "devDependencies": {
864 "gulp-format-md": "^0.1.12",
865 "justified": "^0.2.1",
866 "mocha": "^3.3.0"
867 },
868 "keywords": [
869 "columns",
870 "console",
871 "darwin",
872 "height",
873 "lines",
874 "redirected",
875 "resize",
876 "rows",
877 "size",
878 "term",
879 "term-size",
880 "terminal",
881 "tty",
882 "unix",
883 "width",
884 "win",
885 "window",
886 "windows"
887 ],
888 "verb": {
889 "related": {
890 "list": [
891 "base-cli",
892 "lint-deps",
893 "yargs"
894 ]
895 },
896 "toc": false,
897 "layout": "default",
898 "tasks": [
899 "readme"
900 ],
901 "plugins": [
902 "gulp-format-md"
903 ],
904 "lint": {
905 "reflinks": true
906 }
907 },
908 "gitHead": "28f3e0ffba18846d5db4919a65804aa076e4ffc5",
909 "_id": "[email protected]",
910 "_npmVersion": "6.1.0",
911 "_nodeVersion": "10.3.0",
912 "_npmUser": {
913 "name": "doowb",
914 "email": "[email protected]"
915 },
916 "dist": {
917 "integrity": "sha512-5D/9vujkmVQ7pSmc0SCBmHXbkv6eaHwXEx65MywhmUMsI8sGqJ972APq1lotfcwMKPFLuCFfL8xGHLIp7jaBmA==",
918 "shasum": "9858586580ada78ab26ecd6978a6e03115c1af20",
919 "tarball": "https://registry.npmjs.org/window-size/-/window-size-1.1.1.tgz",
920 "fileCount": 6,
921 "unpackedSize": 12638,
922 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbW362CRA9TVsSAnZWagAAyiMQAKRjQV07wf4HYVmWOgth\ncWuJHa/JKnEVGwDwQ50P+hyr88ItzQWvIleW2psXfWlbfvvIPyL1W2eKdqb0\nLMgpCLOwjHZACE2pWkBhvx2U1aZMPiKy4epFhGqZhgAdI0JtakmPbNq80VFP\n7RDpBVtaCvdiGMYwiBHnwRKP61mcGgSH/AvG0lGrfOty0cEOIPpK5Y9UE2kx\n4/PyVmc5etmCCYtnJQNWxNi7RtEEDdxaORGn09rVM/xBok++OrZ/fzbaWPi8\n6lV8oYwgDrpjU8J29iC3uEF5uTkfpUEBtz7HTB5hd/pnm1SQ71EOXU5NlXQ+\nfN36G0A0GUvr1o2QQLrY+J6mYRrGG0zVZToSNMDz8RCGuExXWEEZuEakBb96\nqAT8NOMUQ7BHDpGTNa+JssBMCL3KeKd3QFK5wbkZuQbUXv6WN7EVanJTyebE\nZiV8N4KUkAQpHKCjSyGohd/63ROqUXIN5iSOe+yfhX/cRbn1kB3y0QQu5poQ\nHrFINMKuh9AZ7Zups2zkbtwZetuSXmdPNy4aZvMH1bPqxm+/qSVxzl88JdNG\nQI5Yf/74fjmKuKsdKrdHb9Yxz6k0A9vtr2e0+UYfyrjfIwjUmtUzdRiBEz5h\nAGs9njtPBCAyGDCaFQTD89if/OJmE3p+UqAO1jKcjFlrqu2Arww5qSQKCRU7\n4Xsb\r\n=KcA1\r\n-----END PGP SIGNATURE-----\r\n"
923 },
924 "maintainers": [
925 {
926 "email": "[email protected]",
927 "name": "doowb"
928 },
929 {
930 "email": "[email protected]",
931 "name": "jonschlinkert"
932 }
933 ],
934 "directories": {},
935 "_npmOperationalInternal": {
936 "host": "s3://npm-registry-packages",
937 "tmp": "tmp/window-size_1.1.1_1532722870764_0.8558392465584159"
938 }
939 }
940 },
941 "readme": "# window-size [![NPM version](https://img.shields.io/npm/v/window-size.svg?style=flat)](https://www.npmjs.com/package/window-size) [![NPM monthly downloads](https://img.shields.io/npm/dm/window-size.svg?style=flat)](https://npmjs.org/package/window-size) [![NPM total downloads](https://img.shields.io/npm/dt/window-size.svg?style=flat)](https://npmjs.org/package/window-size) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/window-size.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/window-size) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/window-size.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/window-size)\n\n> Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save window-size\n```\n\n## Usage\n\n```js\nvar size = require('window-size');\n```\n\n## CLI\n\n```sh\n$ window-size\n# height: 40\n# width : 145\n```\n\n## API\n\n### windowSize\n\nThe main export is either an object with `width` and `height` properties, or `undefined` if unable to get width and height.\n\n```js\nvar size = require('window-size');\nconsole.log(size); \n//=> {width: 80, height: 25}\n```\n\n### .get\n\nCalls the main function to get the up-to-date window size.\n\n```js\nconsole.log(size.get());\n//=> {width: 80, height: 25}\n```\n\n**Example**\n\nSee [example.js](example.js) for the code used in the below gif.\n\n```js\nprocess.stdout.on('resize', function() {\n console.log(size.get());\n});\n```\n\n![resize event example](https://github.com/jonschlinkert/window-size/blob/master/resize.gif)\n\n**HEADS UP!**\n\nNote that some platforms only provide the initial terminal size, not the actual size after it has been resized by the user.\n\n### .env\n\nGet `process.env.COLUMNS` and `process.env.ROWS`, if defined. Called by the main function if for some reason size was not available from `process.stdout` and `process.stderr`.\n\n```js\nconsole.log(size.env());\n```\n\n### .tty\n\nAttempts to get the size from `tty`. Called by the main function if for some reason size was not available from `process.stdout`, `process.stderr` or `process.env`.\n\n```js\nconsole.log(size.tty());\n```\n\n### .win\n\nGet the terminal size in Windows 10+.\n\n```js\nconsole.log(size.win());\n```\n\nNote that this method calls [execSync](https://nodejs.org/api/child_process.html#child_process_child_process_execsync_command_options) to get the size, and must be called directly, as it **is not** called by the main function.\n\n### .tput\n\nGet the terminal size by calling the unix `$ tput` command.\n\n```js\nconsole.log(size.tput());\n```\n\nNote that this method calls [execSync](https://nodejs.org/api/child_process.html#child_process_child_process_execsync_command_options) to get the size, and must be called directly, as it **is not** called by the main function.\n\n### utils\n\nIn some environments the main export may not be able to find a window size using the default methods. In this case, `size` will be `undefined` and the functions will not be exported.\n\nBecause of this, the functions have been exported in a separate file and can be required directly.\n\n```js\nvar utils = require('window-size/utils');\nconsole.log(utils.win());\n```\n\n## About\n\n### Related projects\n\n* [base-cli](https://www.npmjs.com/package/base-cli): Plugin for base-methods that maps built-in methods to CLI args (also supports methods from a… [more](https://github.com/node-base/base-cli) | [homepage](https://github.com/node-base/base-cli \"Plugin for base-methods that maps built-in methods to CLI args (also supports methods from a few plugins, like 'base-store', 'base-options' and 'base-data'.\")\n* [lint-deps](https://www.npmjs.com/package/lint-deps): CLI tool that tells you when dependencies are missing from package.json and offers you a… [more](https://github.com/jonschlinkert/lint-deps) | [homepage](https://github.com/jonschlinkert/lint-deps \"CLI tool that tells you when dependencies are missing from package.json and offers you a choice to install them. Also tells you when dependencies are listed in package.json but are not being used anywhere in your project. Node.js command line tool and API\")\n* [yargs](https://www.npmjs.com/package/yargs): yargs the modern, pirate-themed, successor to optimist. | [homepage](http://yargs.js.org/ \"yargs the modern, pirate-themed, successor to optimist.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- | \n| 23 | [jonschlinkert](https://github.com/jonschlinkert) | \n| 11 | [doowb](https://github.com/doowb) | \n| 4 | [bcoe](https://github.com/bcoe) | \n| 3 | [icyflame](https://github.com/icyflame) | \n| 2 | [derhuerst](https://github.com/derhuerst) | \n| 1 | [karliky](https://github.com/karliky) | \n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.7.0, on July 27, 2018._",
942 "maintainers": [
943 {
944 "email": "[email protected]",
945 "name": "doowb"
946 },
947 {
948 "email": "[email protected]",
949 "name": "jonschlinkert"
950 }
951 ],
952 "time": {
953 "modified": "2018-07-27T20:21:16.236Z",
954 "created": "2014-02-15T03:41:48.322Z",
955 "0.1.0": "2014-02-15T03:41:48.322Z",
956 "0.1.1": "2015-06-07T14:26:37.269Z",
957 "0.1.2": "2015-07-03T08:31:59.347Z",
958 "0.1.3": "2015-11-15T19:28:15.280Z",
959 "0.1.4": "2015-11-15T19:34:44.955Z",
960 "0.2.0": "2016-01-26T23:02:04.787Z",
961 "0.3.0": "2016-12-10T18:21:09.615Z",
962 "1.0.0": "2017-05-07T08:15:26.933Z",
963 "1.1.0": "2017-06-23T15:14:32.058Z",
964 "1.1.1": "2018-07-27T20:21:10.829Z"
965 },
966 "readmeFilename": "README.md",
967 "homepage": "https://github.com/jonschlinkert/window-size",
968 "keywords": [
969 "columns",
970 "console",
971 "darwin",
972 "height",
973 "lines",
974 "redirected",
975 "resize",
976 "rows",
977 "size",
978 "term",
979 "term-size",
980 "terminal",
981 "tty",
982 "unix",
983 "width",
984 "win",
985 "window",
986 "windows"
987 ],
988 "repository": {
989 "type": "git",
990 "url": "git+https://github.com/jonschlinkert/window-size.git"
991 },
992 "author": {
993 "name": "Jon Schlinkert",
994 "url": "https://github.com/jonschlinkert"
995 },
996 "bugs": {
997 "url": "https://github.com/jonschlinkert/window-size/issues"
998 },
999 "license": "MIT",
1000 "users": {
1001 "icyflame": true,
1002 "jonschlinkert": true,
1003 "mojaray2k": true,
1004 "artjacob": true,
1005 "blog": true,
1006 "wayn": true,
1007 "keenwon": true,
1008 "pagoru": true,
1009 "bobjohnson23": true
1010 },
1011 "contributors": [
1012 {
1013 "name": "Benjamin E. Coe",
1014 "url": "https://twitter.com/benjamincoe"
1015 },
1016 {
1017 "name": "Brian Woodward",
1018 "url": "https://twitter.com/doowb"
1019 },
1020 {
1021 "name": "Carlos Hernández Gómez",
1022 "url": "http://www.twitter.com/k4rliky"
1023 },
1024 {
1025 "name": "Jannis Redmann",
1026 "url": "http://jannisr.de"
1027 },
1028 {
1029 "name": "Jon Schlinkert",
1030 "url": "http://twitter.com/jonschlinkert"
1031 },
1032 {
1033 "name": "Siddharth Kannan",
1034 "url": "http://icyflame.github.io"
1035 }
1036 ],
1037 "_attachments": {}
1038 }