{"versions":{"0.20201231.0":{"name":"@types/uzip","version":"0.20201231.0","description":"TypeScript definitions for uzip","license":"MIT","contributors":[{"name":"lucaspontoexe","url":"https://github.com/lucaspontoexe","githubUsername":"lucaspontoexe"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/uzip"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"9b712b1b318ff172aec831c5b4a55db1283e7c1d8f69a4e6972f7f44510ae134","typeScriptVersion":"3.3","_id":"@types/uzip@0.20201231.0","dist":{"integrity":"sha512-h5QS4GArSRa0VqWC30rQ8q/WjDwmTrFFMOulFQUAEjhL9zUApefLnpF2Y7ZRNrfMqCjKnWGxs2AtYrN6/t699w==","shasum":"acdc14f531c98d39d9cc93beb51676f2274bbb0c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/uzip/-/uzip-0.20201231.0.tgz","fileCount":4,"unpackedSize":4882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf95VKCRA9TVsSAnZWagAAmEYP/1ACBDDxaHXqsSbS/4mu\nwx5O/SMz/+GgtF9o/94oMrAnjN4VmigirH5W00eyazhm+3r2mNxzALsDoPSo\nMO1oBd9tknfiVxuPI6h+VwKavhfVRFncs2DMcuiY85//785VI/RZQ5lO2oqi\nrsDIXsf4D2egN8xsuEN4TT0QTn7BtJHQyNiFfug9a2m/EQoezai4KKxTmEL4\ng5KpUx+Qaq/D9eZrnd7aHeioXcmi9+g7U+GrfcSqsQ0DXBV7IJT/CAwFQyGX\nmpMleoszxn93MEGYPXMWrhRZEOlSFWmrp7gTx7wh07uSYNVOsO+3xUqv6Rwf\nCP/LJFxbJ5iWKf8BCRMbrEUhiva5gsSApGdd0QAOVrpbTn7Fg9+8gDWYB3ra\nEcGVeG71yYJKIRHYleoFwV7VNrcSzJzi7iVH1f2AphC6RMd+gEPJC61SxX9S\nVKUKMw5JUzgq4DNDw1sz+zT0Sbd069rz1oJQtpbiwWgoFLGd813dwxSDDdim\nI40B4ptgGinVsaIpKRVuXdQe/qzMGVRWAaeZleY/v3bgVuZj8GeaS4bgm5pD\nmN+CW0k8qf06N1hWVEatp5jCUzYfymsUuYiL9MF63l+9dAWbl9B4XK2INjTc\njegCtFvzYDov6RsJnAXiIVlJI3hfQFW+YMpyrIhrrpmCHPJWkZIpMVcV7fOE\njdmd\r\n=Gsvs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvXiyW3rkZxe8vNKpVXzQY3XIXoKaZGpZIgP/MBwtESgIhAOl+MiGa9qJTSuWzD2wnprusOJqsbwX+kBHHyntUOEMP"}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uzip_0.20201231.0_1610061130385_0.10412394480111864"},"_hasShrinkwrap":false},"0.20201231.1":{"name":"@types/uzip","version":"0.20201231.1","description":"TypeScript definitions for uzip","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uzip","license":"MIT","contributors":[{"name":"lucaspontoexe","githubUsername":"lucaspontoexe","url":"https://github.com/lucaspontoexe"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/uzip"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"9c64e831dcf3248093387df1df70f98095b6ac755cbcb3ff310e7f3e1d06f42f","typeScriptVersion":"4.5","_id":"@types/uzip@0.20201231.1","dist":{"integrity":"sha512-M83hBuAMl/VyQOuOEt5fDMOVh2O6QHJXI+3jNdynsxzxnYGQ3f1b5GgP5yG+vbCcWyraHo/UV8tGPoboJWnEYg==","shasum":"10fc35e64c9b7682b07a026ccdba5f5e0b128e39","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/uzip/-/uzip-0.20201231.1.tgz","fileCount":5,"unpackedSize":7177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8II294I+TwhhqHnxmzSHzDr3ec5RNxFgN9JIxu4IPywIgJCMUIM7XbZQiyoqHY6FbLnuAdmLdDSlo9jrLmzl3GFI="}],"size":2164},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uzip_0.20201231.1_1697649156282_0.12930784789513683"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T17:12:36.513Z","publish_time":1697649156513,"_source_registry_name":"default"},"0.20201231.2":{"name":"@types/uzip","version":"0.20201231.2","description":"TypeScript definitions for uzip","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uzip","license":"MIT","contributors":[{"name":"lucaspontoexe","githubUsername":"lucaspontoexe","url":"https://github.com/lucaspontoexe"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/uzip"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"6cb524a80c23065c15b3e4e3e657c7ac6451ef4a14d552e24a16804ec390095a","typeScriptVersion":"4.5","_id":"@types/uzip@0.20201231.2","dist":{"integrity":"sha512-l8n/uaJDoxv2hMMWKCaq6l/umbCZjq6CMr8z2wuteB7lKoIwHrIlMZ3AwAuc+olmOK1AobfvK1PPfr5wl7lkWQ==","shasum":"1ecac138c6622afc0a6bfb6c6a5d87a4f0e10b7b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/uzip/-/uzip-0.20201231.2.tgz","fileCount":5,"unpackedSize":7177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG8HPpv6GzKLRrF7nnkEV2/HYNkQ74o+kVSI2V5y6vKcAiBevvtwkoqdiSTzepcTAtsz6t5HP8+xneDebP4hWkt+rg=="}],"size":2163},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uzip_0.20201231.2_1699382279983_0.11251725484908337"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T18:38:00.172Z","publish_time":1699382280172,"_source_registry_name":"default"}},"dist-tags":{"latest":"0.20201231.2","ts3.3":"0.20201231.0","ts3.4":"0.20201231.0","ts3.5":"0.20201231.0","ts3.6":"0.20201231.0","ts3.7":"0.20201231.0","ts3.8":"0.20201231.0","ts3.9":"0.20201231.0","ts4.0":"0.20201231.0","ts4.1":"0.20201231.0","ts4.2":"0.20201231.0","ts4.3":"0.20201231.0","ts4.4":"0.20201231.0","ts4.5":"0.20201231.2","ts4.6":"0.20201231.2","ts4.7":"0.20201231.2","ts4.8":"0.20201231.2","ts4.9":"0.20201231.2","ts5.0":"0.20201231.2","ts5.1":"0.20201231.2","ts5.2":"0.20201231.2","ts5.3":"0.20201231.2","ts5.4":"0.20201231.2","ts5.5":"0.20201231.2","ts5.6":"0.20201231.2","ts5.7":"0.20201231.2","ts5.8":"0.20201231.2","ts5.9":"0.20201231.2","ts6.0":"0.20201231.2"},"name":"@types/uzip","time":{"created":"2022-01-27T11:06:03.018Z","0.20201231.0":"2021-01-07T23:12:10.537Z","modified":"2025-08-03T07:57:04.332Z","0.20201231.1":"2023-10-18T17:12:36.513Z","0.20201231.2":"2023-11-07T18:38:00.172Z"},"readme":"# Installation\r\n> `npm install --save @types/uzip`\r\n\r\n# Summary\r\nThis package contains type definitions for uzip (https://github.com/photopea/UZIP.js).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uzip.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uzip/index.d.ts)\r\n````ts\r\n/**\n * Object with `key:property` pairs, where `key` is a file path, and `property` is an Uint8Array of its contents\n */\nexport interface UZIPFiles {\n    [name: string]: Uint8Array;\n}\n\n/**\n * Object with information about file size\n */\nexport interface UZIPSizeInfo {\n    [name: string]: { usize: number; csize: number };\n}\n\n/**\n * Set compression level (0-9)\n */\nexport interface UZIPOptions {\n    level: number;\n}\n\n/**\n * Read a ZIP file (as `ArrayBuffer`) and convert into a key-value pair of containing files.\n * @param buf ArrayBuffer of the ZIP file\n * @param onlyNames If `true`, returns file sizes instead of contents.\n */\nexport function parse(buf: ArrayBuffer, onlyNames?: boolean): UZIPFiles;\nexport function parse(buf: ArrayBuffer, onlyNames: true): UZIPSizeInfo;\n\n/**\n * Encode files into a ZIP buffer\n * @param obj Object with `key:property` pairs, where `key` is a file path, and `property` is an Uint8Array of its contents\n * @param noCmpr Disable ZIP compression\n */\nexport function encode(obj: UZIPFiles, noCmpr?: boolean): ArrayBuffer;\n\n/**\n * Compress buffer. Returns an `Uint8Array` of DEFLATE stream\n * @param data Buffer to be compressed\n * @param options Optional object specifying level of compression\n */\nexport function deflateRaw(data: Uint8Array, options?: UZIPOptions): Uint8Array;\n\n/**\n * Compress buffer. Returns an `Uint8Array` of ZLIB stream (2 byte header + DEFLATE stream + 4 byte checksum)\n * @param data Buffer to be compressed\n * @param options Optional object specifying level of compression\n */\nexport function deflate(data: Uint8Array, options?: UZIPOptions): Uint8Array;\n\n/**\n * Decompress buffer. Returns Uint8Array with decompressed bytes\n * @param file Buffer containing a ZLIB stream _(2 byte header + DEFLATE stream + 4 byte checksum)_ to be decompressed.\n * @param outputBuffer Optional additional buffer.\n * More details at https://github.com/photopea/uzip.js\n */\nexport function inflate(file: Uint8Array, outputBuffer?: Uint8Array): Uint8Array;\n\n/**\n * Decompress buffer. Returns Uint8Array with decompressed bytes\n * @param file Buffer to be decompressed, containing a Deflate stream\n * @param outputBuffer Optional additional buffer.\n * More details at https://github.com/photopea/uzip.js\n */\nexport function inflateRaw(file: Uint8Array, outputBuffer?: Uint8Array): Uint8Array;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 15:11:36 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [lucaspontoexe](https://github.com/lucaspontoexe).","users":{}}