{"_id":"@types/decompress","_rev":"3016352","name":"@types/decompress","description":"TypeScript definitions for decompress","dist-tags":{"latest":"4.2.5","ts2.0":"4.2.3","ts2.1":"4.2.3","ts2.2":"4.2.3","ts2.3":"4.2.3","ts2.4":"4.2.3","ts2.5":"4.2.3","ts2.6":"4.2.3","ts2.7":"4.2.3","ts2.8":"4.2.3","ts2.9":"4.2.3","ts3.0":"4.2.3","ts3.1":"4.2.3","ts3.2":"4.2.3","ts3.3":"4.2.3","ts3.4":"4.2.3","ts3.5":"4.2.3","ts3.6":"4.2.4","ts3.7":"4.2.4","ts3.8":"4.2.4","ts3.9":"4.2.4","ts4.0":"4.2.4","ts4.1":"4.2.4","ts4.2":"4.2.4","ts4.3":"4.2.4","ts4.4":"4.2.4","ts4.5":"4.2.5","ts4.6":"4.2.5","ts4.7":"4.2.5","ts4.8":"4.2.5","ts4.9":"4.2.5","ts5.0":"4.2.5","ts5.1":"4.2.5","ts5.2":"4.2.5","ts5.3":"4.2.5"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-10-17T06:04:12.000Z","created":"2017-10-11T23:01:40.721Z","4.2.5":"2023-09-22T20:50:04.427Z","4.2.4":"2021-07-06T20:44:15.107Z","4.2.3":"2018-06-13T19:19:51.349Z","4.2.2":"2018-04-12T23:30:19.432Z","4.2.1":"2018-03-22T17:53:11.047Z","4.2.0":"2017-10-11T23:01:40.721Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/decompress"},"versions":{"4.2.5":{"name":"@types/decompress","version":"4.2.5","description":"TypeScript definitions for decompress","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/decompress","license":"MIT","contributors":[{"name":"York Yao","url":"https://github.com/plantain-00","githubUsername":"plantain-00"},{"name":"Jesse Bethke","url":"https://github.com/jbethke","githubUsername":"jbethke"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/decompress"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"66ec09bf767db35905e6618924ce53763a34561f865da95c40ae5d65805f9299","typeScriptVersion":"4.5","_id":"@types/decompress@4.2.5","dist":{"shasum":"07ed5b350303b945017692e87a653a09df166915","size":1997,"noattachment":false,"key":"/@types/decompress/-/@types/decompress-4.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/decompress/download/@types/decompress-4.2.5.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress_4.2.5_1695415804236_0.08537613509078756"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-22T20:50:04.427Z","publish_time":1695415804427,"_source_registry_name":"default","_cnpm_publish_time":1695415804427},"4.2.4":{"name":"@types/decompress","version":"4.2.4","description":"TypeScript definitions for decompress","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/decompress","license":"MIT","contributors":[{"name":"York Yao","url":"https://github.com/plantain-00","githubUsername":"plantain-00"},{"name":"Jesse Bethke","url":"https://github.com/jbethke","githubUsername":"jbethke"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/decompress"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"5bec32d6faee0ac37fbcd99fc5170b9940d0866d17726bb7aa7ea978ce31fb1e","typeScriptVersion":"3.6","_id":"@types/decompress@4.2.4","dist":{"shasum":"dd2715d3ac1f566d03e6e302d1a26ffab59f8c5c","size":1946,"noattachment":false,"key":"/@types/decompress/-/@types/decompress-4.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/decompress/download/@types/decompress-4.2.4.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress_4.2.4_1625604254963_0.38314191115883345"},"_hasShrinkwrap":false,"publish_time":1625604255107,"_cnpm_publish_time":1625604255107,"_cnpmcore_publish_time":"2021-12-16T19:01:14.331Z"},"4.2.3":{"name":"@types/decompress","version":"4.2.3","description":"TypeScript definitions for decompress","license":"MIT","contributors":[{"name":"York Yao","url":"https://github.com/plantain-00","githubUsername":"plantain-00"},{"name":"Jesse Bethke","url":"https://github.com/jbethke","githubUsername":"jbethke"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"0e95800d60335c4dc88a1b57f565abc1f52dcd42e6a29127ed907a6622fee6fc","typeScriptVersion":"2.0","_id":"@types/decompress@4.2.3","dist":{"shasum":"98eed48af80001038aa05690b2094915f296fe65","size":1854,"noattachment":false,"key":"/@types/decompress/-/@types/decompress-4.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/decompress/download/@types/decompress-4.2.3.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress_4.2.3_1528917591286_0.5106258806134483"},"publish_time":1528917591349,"_hasShrinkwrap":false,"_cnpm_publish_time":1528917591349,"_cnpmcore_publish_time":"2021-12-16T19:01:14.573Z"},"4.2.2":{"name":"@types/decompress","version":"4.2.2","description":"TypeScript definitions for decompress","license":"MIT","contributors":[{"name":"York Yao","url":"https://github.com/plantain-00","githubUsername":"plantain-00"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"478c140bf5b07a4ca3b4ec405b9998c278be6abb5aba80b5166a1bb59e8bc674","typeScriptVersion":"2.0","_id":"@types/decompress@4.2.2","dist":{"shasum":"38a299e981862a898e5ac84eb1adc9329a0bad56","size":1801,"noattachment":false,"key":"/@types/decompress/-/@types/decompress-4.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/decompress/download/@types/decompress-4.2.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress_4.2.2_1523575819344_0.9351083119602364"},"_hasShrinkwrap":false,"publish_time":1523575819432,"_cnpm_publish_time":1523575819432,"_cnpmcore_publish_time":"2021-12-16T19:01:14.840Z"},"4.2.1":{"name":"@types/decompress","version":"4.2.1","description":"TypeScript definitions for decompress","license":"MIT","contributors":[{"name":"York Yao","url":"https://github.com/plantain-00","githubUsername":"plantain-00"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"731f4b0672ece18ddaf50226813d8a79b79e12d27c77e8566ef61996832011fc","typeScriptVersion":"2.0","_id":"@types/decompress@4.2.1","dist":{"shasum":"28aa680af11c09058b22ebbc7fe443a0b22545a2","size":1797,"noattachment":false,"key":"/@types/decompress/-/@types/decompress-4.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/decompress/download/@types/decompress-4.2.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress_4.2.1_1521741190953_0.45709395765860394"},"_hasShrinkwrap":false,"publish_time":1521741191047,"_cnpm_publish_time":1521741191047,"_cnpmcore_publish_time":"2021-12-16T19:01:15.048Z"},"4.2.0":{"name":"@types/decompress","version":"4.2.0","description":"TypeScript definitions for decompress","license":"MIT","contributors":[{"name":"York Yao","url":"https://github.com/plantain-00","githubUsername":"plantain-00"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"aca5f8cf191a82ba06157c698cbb62f047ce4af858aa9ba3f41e65381039e3af","typeScriptVersion":"2.0","_id":"@types/decompress@4.2.0","dist":{"shasum":"ce067d27c7edeb418138f348a5b5eed2abb82315","size":1767,"noattachment":false,"key":"/@types/decompress/-/@types/decompress-4.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/decompress/download/@types/decompress-4.2.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-4.2.0.tgz_1507762900466_0.5960616921074688"},"directories":{},"publish_time":1507762900721,"_hasShrinkwrap":false,"_cnpm_publish_time":1507762900721,"_cnpmcore_publish_time":"2021-12-16T19:01:15.318Z"}},"readme":"# Installation\r\n> `npm install --save @types/decompress`\r\n\r\n# Summary\r\nThis package contains type definitions for decompress (https://github.com/kevva/decompress#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/decompress.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/decompress/index.d.ts)\r\n````ts\r\n// Type definitions for decompress 4.2\n// Project: https://github.com/kevva/decompress#readme\n// Definitions by: York Yao <https://github.com/plantain-00>\n//                 Jesse Bethke <https://github.com/jbethke>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\n/// <reference types=\"node\" />\n\nexport = decompress;\n\ndeclare function decompress(\n    input: string | Buffer,\n    output?: string | decompress.DecompressOptions,\n    opts?: decompress.DecompressOptions,\n): Promise<decompress.File[]>;\n\ndeclare namespace decompress {\n    interface File {\n        data: Buffer;\n        mode: number;\n        mtime: string;\n        path: string;\n        type: string;\n    }\n\n    interface DecompressOptions {\n        /**\n         * Filter out files before extracting\n         */\n        filter?(file: File): boolean;\n        /**\n         * Map files before extracting\n         */\n        map?(file: File): File;\n        /**\n         * Array of plugins to use.\n         * Default: [decompressTar(), decompressTarbz2(), decompressTargz(), decompressUnzip()]\n         */\n        plugins?: any[] | undefined;\n        /**\n         * Remove leading directory components from extracted files.\n         * Default: 0\n         */\n        strip?: number | undefined;\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 22 Sep 2023 20:29:40 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 [York Yao](https://github.com/plantain-00), and [Jesse Bethke](https://github.com/jbethke).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/decompress","license":"MIT"}