{"_id":"@types/window-size","_rev":"2931980","name":"@types/window-size","description":"TypeScript definitions for window-size","dist-tags":{"latest":"1.1.1","ts2.0":"0.2.4","ts2.1":"0.2.4","ts2.2":"0.2.4","ts2.3":"0.2.4","ts2.4":"0.2.4","ts2.5":"0.2.4","ts2.6":"0.2.4","ts2.7":"0.2.4","ts2.8":"0.2.4","ts2.9":"0.2.4","ts3.0":"0.2.5","ts3.1":"0.2.5","ts3.2":"0.2.5","ts3.3":"0.2.5","ts3.4":"0.2.5","ts3.5":"0.2.5","ts3.6":"0.2.5","ts3.7":"1.1.0","ts3.8":"1.1.1","ts3.9":"1.1.1","ts4.0":"1.1.1","ts4.1":"1.1.1","ts4.2":"1.1.1","ts4.3":"1.1.1","ts4.4":"1.1.1","ts4.5":"1.1.1","ts4.6":"1.1.1","ts4.7":"1.1.1","ts4.8":"1.1.1","ts4.9":"1.1.1","ts5.0":"1.1.1","ts5.1":"1.1.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-03-14T06:29:02.000Z","created":"2016-08-08T20:38:33.592Z","1.1.1":"2021-12-24T00:38:36.570Z","1.1.0":"2021-09-07T01:01:47.723Z","0.2.5":"2020-05-15T14:07:46.126Z","0.2.4":"2016-10-05T21:04:39.883Z","0.2.3":"2016-09-19T18:19:36.978Z","0.2.2":"2016-08-25T19:04:35.451Z","0.2.1":"2016-08-08T20:38:33.592Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/window-size"},"versions":{"1.1.1":{"name":"@types/window-size","version":"1.1.1","description":"TypeScript definitions for window-size","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/window-size","license":"MIT","contributors":[{"name":"Juer Whang","url":"https://github.com/juergenie","githubUsername":"juergenie"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/window-size"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"bbae7cab955f07fc7c80a9c816b2246f37e127d4880dd0f4f5407a403363b8ce","typeScriptVersion":"3.8","_id":"@types/window-size@1.1.1","dist":{"shasum":"f512dbfc6db4e68e5f8ff57cd3554c73e6abfbbe","size":1944,"noattachment":false,"key":"/@types/window-size/-/@types/window-size-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/window-size/download/@types/window-size-1.1.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/window-size_1.1.1_1640306316386_0.06996213296363929"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-25T23:42:45.851Z","publish_time":1640306316570,"_cnpm_publish_time":1640306316570},"1.1.0":{"name":"@types/window-size","version":"1.1.0","description":"TypeScript definitions for window-size","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/window-size","license":"MIT","contributors":[{"name":"Pouya Kary","url":"https://github.com/pmkary","githubUsername":"pmkary"},{"name":"Juer Whang","url":"https://github.com/juergenie","githubUsername":"juergenie"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/window-size"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"c3e6f6451429973c2aa06d1e1875adb587f75d1cf5536d9348f529a597b6b2e9","typeScriptVersion":"3.7","_id":"@types/window-size@1.1.0","dist":{"shasum":"b4c935495a882c510079b3d5d68951645fdf3c37","size":2002,"noattachment":false,"key":"/@types/window-size/-/@types/window-size-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/window-size/download/@types/window-size-1.1.0.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/window-size_1.1.0_1630976507545_0.8261714797485085"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:23:40.384Z","publish_time":1630976507723,"_cnpm_publish_time":1630976507723},"0.2.5":{"name":"@types/window-size","version":"0.2.5","description":"TypeScript definitions for window-size","license":"MIT","contributors":[{"name":"Pouya Kary","url":"https://github.com/pmkary","githubUsername":"pmkary"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/window-size"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"f6e026604761acbe543e031c8c820a4ee2af0905de7704fa6c5090b2c7edbcb8","typeScriptVersion":"3.0","_id":"@types/window-size@0.2.5","dist":{"shasum":"506173de1a08b338699df1eea6e70c3e778512d9","size":1520,"noattachment":false,"key":"/@types/window-size/-/@types/window-size-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/window-size/download/@types/window-size-0.2.5.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/window-size_0.2.5_1589551665927_0.8911760007688136"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:23:40.284Z","publish_time":1589551666126,"_cnpm_publish_time":1589551666126},"0.2.4":{"name":"@types/window-size","version":"0.2.4","description":"TypeScript definitions for window-size 0.2.0","license":"MIT","author":"Pouya Kary <https://github.com/pmkary>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"peerDependencies":{},"typings":"index.d.ts","typesPublisherContentHash":"322339a2765fa349d98750a0abbc9d553df030127cfeb509e06f696c856174ec","_id":"@types/window-size@0.2.4","dist":{"shasum":"3a7cddfe027a4d4dc72b6bfc5a6e3969237f64a9","size":1029,"noattachment":false,"key":"/@types/window-size/-/@types/window-size-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/window-size/download/@types/window-size-0.2.4.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/window-size-0.2.4.tgz_1475701479642_0.9653179526794702"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:23:39.430Z","publish_time":1475701479883,"_cnpm_publish_time":1475701479883},"0.2.3":{"name":"@types/window-size","version":"0.2.3","description":"TypeScript definitions for window-size 0.2.0","license":"MIT","author":"Pouya Kary <https://github.com/pmkary>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typings":"window-size.d.ts","typesPublisherContentHash":"80bcc44388706b7259f407f9da5838efcaf89b3e719c6bd2171718f489fb7a72","_id":"@types/window-size@0.2.3","dist":{"shasum":"6a61eb766e4d0b6fd1916c7e3d9a41c713cc37d4","size":1022,"noattachment":false,"key":"/@types/window-size/-/@types/window-size-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/window-size/download/@types/window-size-0.2.3.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/window-size-0.2.3.tgz_1474309174005_0.8725762420799583"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:23:37.770Z","publish_time":1474309176978,"_cnpm_publish_time":1474309176978},"0.2.2":{"name":"@types/window-size","version":"0.2.2","description":"TypeScript definitions for window-size 0.2.0","license":"MIT","author":"Pouya Kary <https://github.com/pmkary>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typings":"window-size.d.ts","_id":"@types/window-size@0.2.2","dist":{"shasum":"8f5e24807abd3450bcfdba2b566d1dbf7be9a81b","size":1009,"noattachment":false,"key":"/@types/window-size/-/@types/window-size-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/window-size/download/@types/window-size-0.2.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/window-size-0.2.2.tgz_1472151875224_0.5390802030451596"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:23:36.044Z","publish_time":1472151875451,"_cnpm_publish_time":1472151875451},"0.2.1":{"name":"@types/window-size","version":"0.2.1","description":"TypeScript definitions for window-size 0.2.0","license":"MIT","author":"Pouya Kary <https://github.com/pmkary>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typings":"window-size.d.ts","_id":"@types/window-size@0.2.1","dist":{"shasum":"01807bcc965178c26dd3f337957b54fedd1d613a","size":1010,"noattachment":false,"key":"/@types/window-size/-/@types/window-size-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/window-size/download/@types/window-size-0.2.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/window-size-0.2.1.tgz_1470688713322_0.5708527243696153"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:23:34.348Z","publish_time":1470688713592,"_cnpm_publish_time":1470688713592}},"readme":"# Installation\r\n> `npm install --save @types/window-size`\r\n\r\n# Summary\r\nThis package contains type definitions for window-size (https://github.com/jonschlinkert/window-size).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/window-size.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/window-size/index.d.ts)\r\n````ts\r\n// Type definitions for window-size 1.1.1\n// Project: https://github.com/jonschlinkert/window-size\n// Definitions by: Pouya Kary <https://github.com/pmkary>,\n//                 Juer Whang <https://github.com/juergenie>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\n/// <reference types=\"node\" />\n\ndeclare module 'window-size' {\n    import { WriteStream } from 'fs';\n\n    const windowSize: windowSize.Size & {\n        /** Get terminal window's size with available channels. */\n        get(options?: windowSize.WindowSizeOptions): windowSize.Size;\n        /** Get terminal window's size with `process.env.COLUMNS` and `process.env.ROWS`. */\n        env(): windowSize.Size;\n        /** Get terminal window's size with `tty` module */\n        tty(options: windowSize.TtySizeOptions): windowSize.Size;\n        tput(): windowSize.Size;\n        win(): windowSize.Size;\n    };\n    export = windowSize;\n    namespace windowSize {\n        export interface Size {\n            width: number;\n            height: number;\n            type: string;\n        }\n\n        /** Options of inner function `streamSize`. */\n        type StreamSizeOptions = Record<string, WriteStream>;\n\n        /** Options of function `windowSize.tty`. */\n        interface TtySizeOptions {\n            tty?: {\n                getWindowSize?: (out: WriteStream) => [number, number];\n            };\n        }\n\n        /** Options of function `windowSize.get` */\n        type WindowSizeOptions = StreamSizeOptions & TtySizeOptions;\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Sep 2021 01:01:18 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Pouya Kary](https://github.com/pmkary), and [Juer Whang](https://github.com/juergenie).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/window-size","license":"MIT"}