{"_id":"@types/tar-stream","_rev":"1271711","name":"@types/tar-stream","description":"TypeScript definitions for tar-stream","dist-tags":{"latest":"2.2.2","ts2.6":"1.6.1","ts2.7":"1.6.1","ts2.8":"2.1.0","ts2.9":"2.1.0","ts3.0":"2.1.0","ts3.1":"2.1.0","ts3.2":"2.1.0","ts3.3":"2.2.0","ts3.4":"2.2.0","ts3.5":"2.2.0","ts3.6":"2.2.1","ts3.7":"2.2.2","ts3.8":"2.2.2","ts3.9":"2.2.2","ts4.0":"2.2.2","ts4.1":"2.2.2","ts4.2":"2.2.2","ts4.3":"2.2.2","ts4.4":"2.2.2","ts4.5":"2.2.2","ts4.6":"2.2.2"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2021-11-18T21:21:20.000Z","created":"2018-05-18T20:27:43.070Z","2.2.2":"2021-10-17T15:01:27.866Z","1.6.3":"2021-07-02T21:36:55.185Z","2.2.1":"2021-07-02T21:36:43.505Z","2.2.0":"2021-01-01T18:59:47.668Z","1.6.2":"2020-03-02T19:01:53.716Z","2.1.0":"2020-03-02T19:01:32.077Z","1.6.1":"2019-06-03T23:38:18.781Z","1.6.0":"2018-05-18T20:27:43.070Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/tar-stream"},"versions":{"2.2.2":{"name":"@types/tar-stream","version":"2.2.2","description":"TypeScript definitions for tar-stream","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar-stream","license":"MIT","contributors":[{"name":"Guy Lichtman","url":"https://github.com/glicht","githubUsername":"glicht"},{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"},{"name":"Kevin Lindsay","url":"https://github.com/kevin-lindsay-1","githubUsername":"kevin-lindsay-1"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/tar-stream"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"23a7dd84bfe9183efdc2f477afe686753d8e702a2b8a0b6ff722d280ccbd0918","typeScriptVersion":"3.7","_id":"@types/tar-stream@2.2.2","dist":{"shasum":"be9d0be9404166e4b114151f93e8442e6ab6fb1d","size":2403,"noattachment":false,"key":"/@types/tar-stream/-/@types/tar-stream-2.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/tar-stream/download/@types/tar-stream-2.2.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tar-stream_2.2.2_1634482887323_0.03163729150794414"},"_hasShrinkwrap":false,"publish_time":1634482887866,"_cnpm_publish_time":1634482887866},"1.6.3":{"name":"@types/tar-stream","version":"1.6.3","description":"TypeScript definitions for tar-stream","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar-stream","license":"MIT","contributors":[{"name":"Guy Lichtman","url":"https://github.com/glicht","githubUsername":"glicht"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/tar-stream"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"84829a662582c5600a3747107429467b44d61a4d47a08cdb7de4030821b18f35","typeScriptVersion":"3.6","_id":"@types/tar-stream@1.6.3","dist":{"shasum":"614d5eccffd7bbee514b24d986f8790144a9fb4c","size":2078,"noattachment":false,"key":"/@types/tar-stream/-/@types/tar-stream-1.6.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/tar-stream/download/@types/tar-stream-1.6.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tar-stream_1.6.3_1625261815074_0.23625642271630154"},"_hasShrinkwrap":false,"publish_time":1625261815185,"_cnpm_publish_time":1625261815185},"2.2.1":{"name":"@types/tar-stream","version":"2.2.1","description":"TypeScript definitions for tar-stream","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar-stream","license":"MIT","contributors":[{"name":"Guy Lichtman","url":"https://github.com/glicht","githubUsername":"glicht"},{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"},{"name":"Kevin Lindsay","url":"https://github.com/kevin-lindsay-1","githubUsername":"kevin-lindsay-1"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/tar-stream"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"1350fc1ceb6fee547c7b0776868056674a1122e18a11d71975326d78ac62cbdd","typeScriptVersion":"3.6","_id":"@types/tar-stream@2.2.1","dist":{"shasum":"7cb4516fe6d1a926a37b7733905c50885718e7ad","size":2385,"noattachment":false,"key":"/@types/tar-stream/-/@types/tar-stream-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/tar-stream/download/@types/tar-stream-2.2.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tar-stream_2.2.1_1625261803312_0.5333715953904801"},"_hasShrinkwrap":false,"publish_time":1625261803505,"_cnpm_publish_time":1625261803505},"2.2.0":{"name":"@types/tar-stream","version":"2.2.0","description":"TypeScript definitions for tar-stream","license":"MIT","contributors":[{"name":"Guy Lichtman","url":"https://github.com/glicht","githubUsername":"glicht"},{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"},{"name":"Kevin Lindsay","url":"https://github.com/kevin-lindsay-1","githubUsername":"kevin-lindsay-1"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/tar-stream"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"09032d941dbbe6298697b8e0072eb37225f20c781a3774c02060b8cc1ea267c5","typeScriptVersion":"3.3","_id":"@types/tar-stream@2.2.0","dist":{"shasum":"2778ef8e328a520959a39681c15c83c53553426f","size":2301,"noattachment":false,"key":"/@types/tar-stream/-/@types/tar-stream-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/tar-stream/download/@types/tar-stream-2.2.0.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tar-stream_2.2.0_1609527587500_0.8728218187248584"},"_hasShrinkwrap":false,"publish_time":1609527587668,"_cnpm_publish_time":1609527587668},"1.6.2":{"name":"@types/tar-stream","version":"1.6.2","description":"TypeScript definitions for tar-stream","license":"MIT","contributors":[{"name":"Guy Lichtman","url":"https://github.com/glicht","githubUsername":"glicht"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/tar-stream"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"5b9019086dc88faf101cd4d9fe2f0d44a99ac8fa7d424dce2bbf4e3fdf11cb26","typeScriptVersion":"2.8","_id":"@types/tar-stream@1.6.2","dist":{"shasum":"34e5f84071887a37eede85b9f9753aa03c0589ce","size":2013,"noattachment":false,"key":"/@types/tar-stream/-/@types/tar-stream-1.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/tar-stream/download/@types/tar-stream-1.6.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tar-stream_1.6.2_1583175713544_0.6119364174922037"},"_hasShrinkwrap":false,"publish_time":1583175713716,"_cnpm_publish_time":1583175713716},"2.1.0":{"name":"@types/tar-stream","version":"2.1.0","description":"TypeScript definitions for tar-stream","license":"MIT","contributors":[{"name":"Guy Lichtman","url":"https://github.com/glicht","githubUsername":"glicht"},{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/tar-stream"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"3c0c4a5d0cc475d058060ce87812a21edd658111773d04aac966d704b7c902e3","typeScriptVersion":"2.8","_id":"@types/tar-stream@2.1.0","dist":{"shasum":"884b1cbe6c35ff459c05a5eba86b406805943ef6","size":2113,"noattachment":false,"key":"/@types/tar-stream/-/@types/tar-stream-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/tar-stream/download/@types/tar-stream-2.1.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tar-stream_2.1.0_1583175691876_0.00990958119967722"},"_hasShrinkwrap":false,"publish_time":1583175692077,"_cnpm_publish_time":1583175692077},"1.6.1":{"name":"@types/tar-stream","version":"1.6.1","description":"TypeScript definitions for tar-stream","license":"MIT","contributors":[{"name":"Guy Lichtman","url":"https://github.com/glicht","githubUsername":"glicht"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/tar-stream"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"286470ed28781f3b7240f0b6a69e368024023d904cc09261c67387d5f501db03","typeScriptVersion":"2.6","_id":"@types/tar-stream@1.6.1","dist":{"shasum":"67d759068ff781d976cad978893bb7a334ec8809","size":1956,"noattachment":false,"key":"/@types/tar-stream/-/@types/tar-stream-1.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/tar-stream/download/@types/tar-stream-1.6.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tar-stream_1.6.1_1559605098630_0.08182440132463187"},"_hasShrinkwrap":false,"publish_time":1559605098781,"_cnpm_publish_time":1559605098781},"1.6.0":{"name":"@types/tar-stream","version":"1.6.0","description":"TypeScript definitions for tar-stream","license":"MIT","contributors":[{"name":"Guy Lichtman","url":"https://github.com/glicht","githubUsername":"glicht"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"c2c5ef060d427135ecf5a9c7bb6d1f11decc8696e3bbb71d937e4cf4ec65b9e5","typeScriptVersion":"2.6","_id":"@types/tar-stream@1.6.0","dist":{"shasum":"e19893886625c4ec1c7c30a353b8dc10e205c742","size":1953,"noattachment":false,"key":"/@types/tar-stream/-/@types/tar-stream-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/tar-stream/download/@types/tar-stream-1.6.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tar-stream_1.6.0_1526675262972_0.24657231565675897"},"_hasShrinkwrap":false,"publish_time":1526675263070,"_cnpm_publish_time":1526675263070}},"readme":"# Installation\r\n> `npm install --save @types/tar-stream`\r\n\r\n# Summary\r\nThis package contains type definitions for tar-stream (https://github.com/mafintosh/tar-stream).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar-stream.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar-stream/index.d.ts)\r\n````ts\r\n// Type definitions for tar-stream 2.2\n// Project: https://github.com/mafintosh/tar-stream\n// Definitions by: Guy Lichtman <https://github.com/glicht>\n//                 Piotr Błażejewicz <https://github.com/peterblazejewicz>\n//                 Kevin Lindsay <https://github.com/kevin-lindsay-1>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\n/// <reference types=\"node\" />\n\nimport stream = require('stream');\n\nexport type Callback = (err?: Error | null) => any;\n\n// see https://github.com/mafintosh/tar-stream/blob/master/headers.js\nexport interface Headers {\n    name: string;\n    mode?: number | undefined;\n    uid?: number | undefined;\n    gid?: number | undefined;\n    size?: number | undefined;\n    mtime?: Date | undefined;\n    linkname?: string | null | undefined;\n    type?:\n        | 'file'\n        | 'link'\n        | 'symlink'\n        | 'character-device'\n        | 'block-device'\n        | 'directory'\n        | 'fifo'\n        | 'contiguous-file'\n        | 'pax-header'\n        | 'pax-global-header'\n        | 'gnu-long-link-path'\n        | 'gnu-long-path'\n        | null\n        | undefined;\n    uname?: string | undefined;\n    gname?: string | undefined;\n    devmajor?: number | undefined;\n    devminor?: number | undefined;\n}\n\nexport interface Pack extends stream.Readable {\n    /**\n     * To create a pack stream use tar.pack() and call pack.entry(header, [callback]) to add tar entries.\n     */\n    entry(headers: Headers, callback?: Callback): stream.Writable;\n    entry(headers: Headers, buffer?: string | Buffer, callback?: Callback): stream.Writable;\n    finalize(): void;\n}\n\nexport interface Extract extends stream.Writable {\n    on(event: string, listener: (...args: any[]) => void): this;\n    on(\n        event: 'entry',\n        listener: (headers: Headers, stream: stream.PassThrough, next: (error?: unknown) => void) => void,\n    ): this;\n}\n\nexport interface ExtractOptions extends stream.WritableOptions {\n    /**\n     * Whether or not to attempt to extract a file that does not have an\n     * officially supported format in the `magic` header, such as `ustar`.\n     */\n    allowUnknownFormat?: boolean | undefined;\n    /**\n     * The encoding of the file name header.\n     */\n    filenameEncoding?: BufferEncoding | undefined;\n}\nexport function extract(opts?: ExtractOptions): Extract;\n\nexport function pack(opts?: stream.ReadableOptions): Pack;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Sun, 17 Oct 2021 15:01:17 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 [Guy Lichtman](https://github.com/glicht), [Piotr Błażejewicz](https://github.com/peterblazejewicz), and [Kevin Lindsay](https://github.com/kevin-lindsay-1).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar-stream","license":"MIT"}