{"_id":"@blueneon/zip-it","_rev":"11-43eda73c28f14e02df2b8481eba82655","name":"@blueneon/zip-it","dist-tags":{"latest":"2.0.3"},"versions":{"1.0.0":{"name":"@blueneon/zip-it","version":"1.0.0","keywords":["download-manager","opfs","file-system-access-api","zip-streaming","resumable-download","batch-download","browser","webworker"],"author":{"name":"Rochak Sulu"},"license":"MIT","_id":"@blueneon/zip-it@1.0.0","maintainers":[{"name":"blueneon","email":"rochaksulu2002@gmail.com"}],"dist":{"shasum":"313a2debb72733e4a891864a094db2e912407489","tarball":"https://registry.npmjs.org/@blueneon/zip-it/-/zip-it-1.0.0.tgz","fileCount":18,"integrity":"sha512-45GwvuN0UyoGk9jWJh+AJF4AoFaaMlC66bpM0Wr3uqfgO+ZGH3gYpzk2SET2lmfvhrdk3nNGvsEeOnUvW/7n1Q==","signatures":[{"sig":"MEYCIQCeXMPnij2jgnBhHcjzhPl7k7npXxatwS2Pv9OlA4iqfQIhAIAJcTeCd5WGOJwZ1lvygcE44OdKv4SwqetIc4iW62JW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":246683},"main":"./dist/zip-it.cjs","type":"module","types":"./dist/zip-it.d.ts","module":"./dist/zip-it.mjs","exports":{".":{"types":"./dist/zip-it.d.ts","import":"./dist/zip-it.mjs","require":"./dist/zip-it.cjs"}},"scripts":{"dev":"vite","build":"vite build","build:lib":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"blueneon","email":"rochaksulu2002@gmail.com"},"_npmVersion":"11.12.1","description":"High-performance browser-based download manager with OPFS staging and ZIP streaming.","directories":{},"_nodeVersion":"20.19.6","dependencies":{"fflate":"^0.8.2"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","typescript":"^6.0.3","@types/node":"^25.6.0","vite-plugin-dts":"^4.5.4","@types/streamsaver":"^2.0.5"},"peerDependencies":{"streamsaver":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/zip-it_1.0.0_1776580263458_0.3332970075524868","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@blueneon/zip-it","version":"1.0.1","keywords":["download-manager","opfs","file-system-access-api","zip-streaming","resumable-download","batch-download","browser","webworker"],"author":{"name":"Rochak Sulu"},"license":"MIT","_id":"@blueneon/zip-it@1.0.1","maintainers":[{"name":"blueneon","email":"rochaksulu2002@gmail.com"}],"dist":{"shasum":"449fa5de81b834f9918bbb115def79647e0022c5","tarball":"https://registry.npmjs.org/@blueneon/zip-it/-/zip-it-1.0.1.tgz","fileCount":25,"integrity":"sha512-QTYdpZu3aqll35A1ujBe3hdjsc0SB5Pv/B8G5gjSuig2WVVFzG4RIjh4YcKmTBGb/0NbOs/AUtlTh3DkKicE0Q==","signatures":[{"sig":"MEUCIAtRI+BikNMGb8YDY1hhEXLB70wlXIuGnM5hrJBciBkwAiEAkZfJXNlAIIGmcKgqx/2DqP8s9V44z1l8K/lffGGedlw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":266665},"main":"./dist/zip-it.cjs","type":"module","types":"./dist/zip-it.d.ts","module":"./dist/zip-it.mjs","exports":{".":{"types":"./dist/zip-it.d.ts","import":"./dist/zip-it.mjs","require":"./dist/zip-it.cjs"}},"scripts":{"dev":"vite","build":"vite build","build:lib":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"blueneon","email":"rochaksulu2002@gmail.com"},"_npmVersion":"11.12.1","description":"High-performance browser-based download manager with OPFS staging and ZIP streaming.","directories":{},"_nodeVersion":"20.19.6","dependencies":{"fflate":"^0.8.2"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","typescript":"^6.0.3","@types/node":"^25.6.0","vite-plugin-dts":"^4.5.4","@types/streamsaver":"^2.0.5"},"peerDependencies":{"streamsaver":"^2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/zip-it_1.0.1_1776614520670_0.8662890100006329","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@blueneon/zip-it","version":"1.0.2","keywords":["download-manager","opfs","origin-private-file-system","file-system-access-api","zip-streaming","resumable-download","batch-download","large-file-download","browser","webworker","web-worker","zip-compression","client-side-zip","fflate","streamsaver","indexeddb","pause-resume","file-download","streaming","archive"],"author":{"url":"https://github.com/ARES-AM2003","name":"Rochak Sulu"},"license":"MIT","_id":"@blueneon/zip-it@1.0.2","maintainers":[{"name":"blueneon","email":"rochaksulu2002@gmail.com"}],"homepage":"https://github.com/ARES-AM2003/Zip-it-package#readme","bugs":{"url":"https://github.com/ARES-AM2003/Zip-it-package/issues"},"dist":{"shasum":"7ac4f77426a35a51562dbcb6a811299e8b2a9bcc","tarball":"https://registry.npmjs.org/@blueneon/zip-it/-/zip-it-1.0.2.tgz","fileCount":25,"integrity":"sha512-7s99kOGRyJkT1FJNH4zwD30PEynzP7oq4zz/LQr02L5uGmLSZlIBCGH1oPJ/hI4r+b/456gXJjatiDCkxeiCuw==","signatures":[{"sig":"MEYCIQDvMJZJL37myuzT0LfNyGdSIrQelykUGokC9XvOzOAjuwIhAPR3XThqBNai5McLISq6xVLuvx7+hkB95z/yjhARCbDn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":267417},"main":"./dist/zip-it.cjs","type":"module","types":"./dist/zip-it.d.ts","module":"./dist/zip-it.mjs","engines":{"node":">=16"},"exports":{".":{"types":"./dist/zip-it.d.ts","import":"./dist/zip-it.mjs","require":"./dist/zip-it.cjs"}},"gitHead":"696f69c6ae339be369386a4c5ebed48e1fd055e9","scripts":{"dev":"vite","build":"vite build","build:lib":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"blueneon","email":"rochaksulu2002@gmail.com"},"repository":{"url":"git+https://github.com/ARES-AM2003/Zip-it-package.git","type":"git"},"_npmVersion":"11.12.1","description":"Browser download manager for large file batches (10 GB+). OPFS staging, pause/resume, ZIP streaming, IndexedDB resumability — zero server code.","directories":{},"_nodeVersion":"20.19.6","dependencies":{"fflate":"^0.8.2"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","typescript":"^6.0.3","@types/node":"^25.6.0","vite-plugin-dts":"^4.5.4","@types/streamsaver":"^2.0.5"},"peerDependencies":{"streamsaver":"^2.0.6"},"peerDependenciesMeta":{"streamsaver":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zip-it_1.0.2_1776615245447_0.5469029340618099","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@blueneon/zip-it","version":"1.0.4","keywords":["download-manager","opfs","origin-private-file-system","file-system-access-api","zip-streaming","resumable-download","batch-download","large-file-download","browser","webworker","web-worker","zip-compression","client-side-zip","fflate","streamsaver","indexeddb","pause-resume","file-download","streaming","archive"],"author":{"url":"https://github.com/ARES-AM2003","name":"Rochak Sulu"},"license":"MIT","_id":"@blueneon/zip-it@1.0.4","maintainers":[{"name":"blueneon","email":"rochaksulu2002@gmail.com"}],"homepage":"https://github.com/ARES-AM2003/Zip-it-package#readme","bugs":{"url":"https://github.com/ARES-AM2003/Zip-it-package/issues"},"dist":{"shasum":"5ad6d299ed00f9577b0bc800a1fb502de19f80f8","tarball":"https://registry.npmjs.org/@blueneon/zip-it/-/zip-it-1.0.4.tgz","fileCount":25,"integrity":"sha512-WTUbGUhxD8osL2N/XdzqPKRuUgojLWUXqTtF367ZuXHPUsFImPJf+r+Shxp/fk8tGj3MOfah1B2EBc3boXjqDw==","signatures":[{"sig":"MEUCIQDp+v7qT1Y7mU3sGIyY88MS5p4yAib2+NEZeYKngi2eJAIgCGHQxOCWmUFMoKrqFo9pwz6aL7i/s967YiqbQxONVc0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":269143},"main":"./dist/zip-it.cjs","type":"module","types":"./dist/zip-it.d.ts","module":"./dist/zip-it.mjs","engines":{"node":">=16"},"exports":{".":{"types":"./dist/zip-it.d.ts","import":"./dist/zip-it.mjs","require":"./dist/zip-it.cjs"}},"gitHead":"d614ad209d083248cd90accd89396ccc20c3f0eb","scripts":{"dev":"vite","build":"vite build","build:lib":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"blueneon","email":"rochaksulu2002@gmail.com"},"repository":{"url":"git+https://github.com/ARES-AM2003/Zip-it-package.git","type":"git"},"_npmVersion":"11.12.1","description":"Browser download manager for large file batches (10 GB+). OPFS staging, pause/resume, ZIP streaming, IndexedDB resumability — zero server code.","directories":{},"_nodeVersion":"20.19.6","dependencies":{"fflate":"^0.8.2"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","typescript":"^6.0.3","@types/node":"^25.6.0","vite-plugin-dts":"^4.5.4","@types/streamsaver":"^2.0.5"},"peerDependencies":{"streamsaver":"^2.0.6"},"peerDependenciesMeta":{"streamsaver":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zip-it_1.0.4_1776707157358_0.8633228770606687","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@blueneon/zip-it","version":"1.0.5","keywords":["download-manager","opfs","origin-private-file-system","file-system-access-api","zip-streaming","resumable-download","batch-download","large-file-download","browser","webworker","web-worker","zip-compression","client-side-zip","fflate","streamsaver","indexeddb","pause-resume","file-download","streaming","archive"],"author":{"url":"https://github.com/ARES-AM2003","name":"Rochak Sulu"},"license":"MIT","_id":"@blueneon/zip-it@1.0.5","maintainers":[{"name":"blueneon","email":"rochaksulu2002@gmail.com"}],"homepage":"https://github.com/ARES-AM2003/Zip-it-package#readme","bugs":{"url":"https://github.com/ARES-AM2003/Zip-it-package/issues"},"dist":{"shasum":"8cad5f78537d63244129054991a78729f44b9bd5","tarball":"https://registry.npmjs.org/@blueneon/zip-it/-/zip-it-1.0.5.tgz","fileCount":25,"integrity":"sha512-NO9HlCvg6LTNFq47xMR9pQ2CvEGQHn1CyU1+w2RAklckLq7ZeI74EpT8iaRV8PQBAb+torIAJEMs0HvkvdLhTA==","signatures":[{"sig":"MEYCIQCbJJXPKKpV1wPLkBaqxd10GTQoWr4Wm5of1XYSvwRODQIhANNh16EDFqWMtCn4y8+DP91CovQsyHqgdpF/dQ1f9tFS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":930047},"main":"./dist/zip-it.cjs","type":"module","types":"./dist/zip-it.d.ts","module":"./dist/zip-it.mjs","engines":{"node":">=16"},"exports":{".":{"types":"./dist/zip-it.d.ts","import":"./dist/zip-it.mjs","require":"./dist/zip-it.cjs"}},"gitHead":"3fe53aca2ad48f953fb82aa5c810249ac01a8bf8","scripts":{"dev":"vite","build":"vite build","build:lib":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"blueneon","email":"rochaksulu2002@gmail.com"},"repository":{"url":"git+https://github.com/ARES-AM2003/Zip-it-package.git","type":"git"},"_npmVersion":"11.12.1","description":"Browser download manager for large file batches (10 GB+). OPFS staging, pause/resume, ZIP streaming, IndexedDB resumability — zero server code.","directories":{},"_nodeVersion":"20.19.6","dependencies":{"fflate":"^0.8.2","@zip.js/zip.js":"^2.8.26"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","typescript":"^6.0.3","@types/node":"^25.6.0","vite-plugin-dts":"^4.5.4","@types/streamsaver":"^2.0.5"},"peerDependencies":{"streamsaver":"^2.0.6"},"peerDependenciesMeta":{"streamsaver":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zip-it_1.0.5_1776709774495_0.8519541019923031","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@blueneon/zip-it","version":"1.0.6","keywords":["download-manager","opfs","origin-private-file-system","file-system-access-api","zip-streaming","resumable-download","batch-download","large-file-download","browser","webworker","web-worker","zip-compression","client-side-zip","fflate","streamsaver","indexeddb","pause-resume","file-download","streaming","archive"],"author":{"url":"https://github.com/ARES-AM2003","name":"Rochak Sulu"},"license":"MIT","_id":"@blueneon/zip-it@1.0.6","maintainers":[{"name":"blueneon","email":"rochaksulu2002@gmail.com"}],"homepage":"https://github.com/ARES-AM2003/Zip-it-package#readme","bugs":{"url":"https://github.com/ARES-AM2003/Zip-it-package/issues"},"dist":{"shasum":"bf48cf70e0d4a081e1102c3234aba896260db08a","tarball":"https://registry.npmjs.org/@blueneon/zip-it/-/zip-it-1.0.6.tgz","fileCount":25,"integrity":"sha512-4Rj9HLzahGzLUGIS0hIMbAJQpGBk9USrYq+K9KWLhXmGPPGx8UHdkQtb+mTBsnz7+7Y8/9436bkfDUyIE4KnoA==","signatures":[{"sig":"MEUCIH5sSk8651CJFqoI81OzJWlY8BH/lzSeAykZr1aC+UlVAiEA9UHjWbC3CfUl8YBLGsdGM5e5qT0BAMdrzNQx8IDsPVs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":929962},"main":"./dist/zip-it.cjs","type":"module","types":"./dist/zip-it.d.ts","module":"./dist/zip-it.mjs","engines":{"node":">=16"},"exports":{".":{"types":"./dist/zip-it.d.ts","import":"./dist/zip-it.mjs","require":"./dist/zip-it.cjs"}},"gitHead":"b24429dfa53cfe854fc99b101271f9ec1bb0c4a6","scripts":{"dev":"vite","build":"vite build","build:lib":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"blueneon","email":"rochaksulu2002@gmail.com"},"repository":{"url":"git+https://github.com/ARES-AM2003/Zip-it-package.git","type":"git"},"_npmVersion":"11.12.1","description":"Browser download manager for large file batches (10 GB+). OPFS staging, pause/resume, ZIP streaming, IndexedDB resumability — zero server code.","directories":{},"_nodeVersion":"20.19.6","dependencies":{"fflate":"^0.8.2","@zip.js/zip.js":"^2.8.26"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","typescript":"^6.0.3","@types/node":"^25.6.0","vite-plugin-dts":"^4.5.4","@types/streamsaver":"^2.0.5"},"peerDependencies":{"streamsaver":"^2.0.6"},"peerDependenciesMeta":{"streamsaver":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zip-it_1.0.6_1776713683185_0.5427908639755579","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@blueneon/zip-it","version":"1.0.7","keywords":["download-manager","opfs","origin-private-file-system","file-system-access-api","zip-streaming","resumable-download","batch-download","large-file-download","browser","webworker","web-worker","zip-compression","client-side-zip","fflate","streamsaver","indexeddb","pause-resume","file-download","streaming","archive"],"author":{"url":"https://github.com/ARES-AM2003","name":"Rochak Sulu"},"license":"MIT","_id":"@blueneon/zip-it@1.0.7","maintainers":[{"name":"blueneon","email":"rochaksulu2002@gmail.com"}],"homepage":"https://github.com/ARES-AM2003/Zip-it-package#readme","bugs":{"url":"https://github.com/ARES-AM2003/Zip-it-package/issues"},"dist":{"shasum":"3ba6bf143ebb77d02a32d733a0ca68f80de8f830","tarball":"https://registry.npmjs.org/@blueneon/zip-it/-/zip-it-1.0.7.tgz","fileCount":25,"integrity":"sha512-wFCjKn3yYP93DD5Uv6gKMjcv1hgoymtn34eUdAmwjAL1jXXmK5JOgWExI+MyHhV0pSuzvUSKj66PRX/tDVQM1w==","signatures":[{"sig":"MEYCIQCQIOlsnfkNAKn6PPZitDiYF1TqOdkZs0qg0LTAnzmG8gIhAK3YVYpUZh8Toy7QOitH20zoAEowJpAkWhrAGBvx4EHm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":930950},"main":"./dist/zip-it.cjs","type":"module","types":"./dist/zip-it.d.ts","module":"./dist/zip-it.mjs","engines":{"node":">=16"},"exports":{".":{"types":"./dist/zip-it.d.ts","import":"./dist/zip-it.mjs","require":"./dist/zip-it.cjs"}},"gitHead":"6e9994c3944a5d909d8f4229017e5f57395e38c1","scripts":{"dev":"vite","build":"vite build","build:lib":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"blueneon","email":"rochaksulu2002@gmail.com"},"repository":{"url":"git+https://github.com/ARES-AM2003/Zip-it-package.git","type":"git"},"_npmVersion":"11.12.1","description":"Browser download manager for large file batches (10 GB+). OPFS staging, pause/resume, ZIP streaming, IndexedDB resumability — zero server code.","directories":{},"_nodeVersion":"20.19.6","dependencies":{"fflate":"^0.8.2","@zip.js/zip.js":"^2.8.26"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","typescript":"^6.0.3","@types/node":"^25.6.0","vite-plugin-dts":"^4.5.4","@types/streamsaver":"^2.0.5"},"peerDependencies":{"streamsaver":"^2.0.6"},"peerDependenciesMeta":{"streamsaver":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zip-it_1.0.7_1776714940147_0.5732233132542053","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@blueneon/zip-it","version":"2.0.0","keywords":["download","zip","streaming","browser","opfs","file-system-access","indexeddb","resumable","batch-download"],"author":{"name":"Prashant Khatiwada"},"license":"MIT","_id":"@blueneon/zip-it@2.0.0","maintainers":[{"name":"blueneon","email":"rochaksulu2002@gmail.com"}],"homepage":"https://zipit.dev","bugs":{"url":"https://github.com/ARES-AM2003/Zip-it-package/issues"},"dist":{"shasum":"a784fc54efe0cf15c5b05057fbbc9ee05a43c09b","tarball":"https://registry.npmjs.org/@blueneon/zip-it/-/zip-it-2.0.0.tgz","fileCount":15,"integrity":"sha512-aGiTNtNU6QfGYaj/FPDjIfxB5u7nmF30G16S4tC90Xf4kebzwv+YVtwXvYFnEtoRVca51kX4fA/DjMs8fGINVQ==","signatures":[{"sig":"MEYCIQCXvdb01odzh4BHlnI7YDyRphsfHvGQmGaKhkwHcETPsgIhAPCiEYPPQStk6cpwCt/WT7KTG//ZsuoeqD1u3Hpp3JzG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":376757},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./src/index.ts","import":"./src/index.ts"},"./worker":{"types":"./dist/workers/download.worker.d.ts","import":"./dist/workers/download.worker.js"}},"gitHead":"e7b5141c904c45a5d180bbf4f42c4b07a5cd4e2f","scripts":{"dev":"vite build --watch","lint":"tsc --noEmit","test":"vitest run","build":"tsc --noEmit && vite build","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"blueneon","email":"rochaksulu2002@gmail.com"},"repository":{"url":"git+https://github.com/ARES-AM2003/Zip-it-package.git","type":"git"},"_npmVersion":"10.9.7","description":"High-performance client-side ZIP streaming and resumable batch download engine","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","fflate":"^0.8.2","vitest":"^1.5.0","typescript":"^5.4.0","@types/node":"^20.0.0","streamsaver":"^2.0.6","vite-plugin-dts":"^3.8.0","@types/streamsaver":"^2.0.5","@vitest/coverage-v8":"^1.5.0"},"peerDependencies":{"fflate":"^0.8.0"},"peerDependenciesMeta":{"fflate":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/zip-it_2.0.0_1779112076107_0.018738956037723797","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@blueneon/zip-it","version":"2.0.1","keywords":["download","zip","streaming","browser","opfs","file-system-access","indexeddb","resumable","batch-download"],"author":{"name":"Blueneon"},"license":"MIT","_id":"@blueneon/zip-it@2.0.1","maintainers":[{"name":"blueneon","email":"rochaksulu2002@gmail.com"}],"homepage":"https://zipit.dev","bugs":{"url":"https://github.com/ARES-AM2003/Zip-it-package/issues"},"dist":{"shasum":"63eed8de04000576e99ee725503edb97387e6342","tarball":"https://registry.npmjs.org/@blueneon/zip-it/-/zip-it-2.0.1.tgz","fileCount":12,"integrity":"sha512-kpguvzb7UzkOxP966vCU2YFTekB3CRrbpcmWgqER5Pmsc89bEKX2+FuYMQGF0Y5sxw8KT2e6xcAWox+ABIzMnw==","signatures":[{"sig":"MEYCIQDJxJ8g97WpwcKACE+ippV9CTTFP0PMiveE119sRXYYnQIhAMeeOPf5/WcSjvCIg2ydc1Kmi1YtC5dosERw0WbrtGB3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1718194},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./worker":{"types":"./dist/workers/download.worker.d.ts","import":"./dist/workers/download.worker.js"}},"gitHead":"bad0b34fcf5c81a2cf16322b6bdd0b27ac9005c7","scripts":{"dev":"vite build --watch","lint":"tsc --noEmit","test":"vitest run","build":"tsc --noEmit && vite build","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"blueneon","email":"rochaksulu2002@gmail.com"},"repository":{"url":"git+https://github.com/ARES-AM2003/Zip-it-package.git","type":"git"},"_npmVersion":"10.9.7","description":"High-performance client-side ZIP streaming and resumable batch download engine","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"@zip.js/zip.js":"^2.8.26"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","fflate":"^0.8.2","vitest":"^1.5.0","typescript":"^5.4.0","@types/node":"^20.0.0","streamsaver":"^2.0.6","vite-plugin-dts":"^3.8.0","@types/streamsaver":"^2.0.5","@vitest/coverage-v8":"^1.5.0"},"peerDependencies":{"fflate":"^0.8.0"},"peerDependenciesMeta":{"fflate":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zip-it_2.0.1_1779944557974_0.579798961411935","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@blueneon/zip-it","version":"2.0.2","keywords":["download","zip","streaming","browser","opfs","file-system-access","indexeddb","resumable","batch-download"],"author":{"name":"Blueneon"},"license":"MIT","_id":"@blueneon/zip-it@2.0.2","maintainers":[{"name":"blueneon","email":"rochaksulu2002@gmail.com"}],"homepage":"https://zipit.dev","bugs":{"url":"https://github.com/ARES-AM2003/Zip-it-package/issues"},"dist":{"shasum":"6463d72a397b37a0847875a563fc73201d906b24","tarball":"https://registry.npmjs.org/@blueneon/zip-it/-/zip-it-2.0.2.tgz","fileCount":12,"integrity":"sha512-jOhqFB0EzP70c8OGSHcj3FFddefd2H71Sowo5pRrr0+rMezaAfiO52NkRlRak7TjHn1aMH1ms5zDxIU2324r8Q==","signatures":[{"sig":"MEUCIQCSyIbIOvNRiZbNxjMovffYvAI2VXLR1OzN/sBz+lWpKAIgcNqfxSJ2cnVu2PdlkBdeMPFJbz7jY5WLcdJQOvut9dU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1718194},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./worker":{"types":"./dist/workers/download.worker.d.ts","import":"./dist/workers/download.worker.js"}},"gitHead":"bad0b34fcf5c81a2cf16322b6bdd0b27ac9005c7","scripts":{"dev":"vite build --watch","lint":"tsc --noEmit","test":"vitest run","build":"tsc --noEmit && vite build","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"blueneon","email":"rochaksulu2002@gmail.com"},"repository":{"url":"git+https://github.com/ARES-AM2003/Zip-it-package.git","type":"git"},"_npmVersion":"10.9.7","description":"High-performance client-side ZIP streaming and resumable batch download engine","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"@zip.js/zip.js":"^2.8.26"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","fflate":"^0.8.2","vitest":"^1.5.0","typescript":"^5.4.0","@types/node":"^20.0.0","streamsaver":"^2.0.6","vite-plugin-dts":"^3.8.0","@types/streamsaver":"^2.0.5","@vitest/coverage-v8":"^1.5.0"},"peerDependencies":{"fflate":"^0.8.0"},"peerDependenciesMeta":{"fflate":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zip-it_2.0.2_1779944963974_0.14128552279041684","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@blueneon/zip-it","version":"2.0.3","description":"High-performance client-side ZIP streaming and resumable batch download engine","license":"MIT","author":{"name":"Blueneon"},"keywords":["download","zip","streaming","browser","opfs","file-system-access","indexeddb","resumable","batch-download"],"sideEffects":false,"type":"module","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs","types":"./dist/index.d.ts"},"./worker":{"import":"./dist/workers/download.worker.js","types":"./dist/workers/download.worker.d.ts"}},"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"dev":"vite build --watch","build":"tsc --noEmit && vite build","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest","typecheck":"tsc --noEmit","lint":"tsc --noEmit"},"dependencies":{"@zip.js/zip.js":"^2.8.26"},"devDependencies":{"@types/node":"^20.0.0","@types/streamsaver":"^2.0.5","@vitest/coverage-v8":"^1.5.0","fflate":"^0.8.2","streamsaver":"^2.0.6","typescript":"^5.4.0","vite":"^5.0.0","vite-plugin-dts":"^3.8.0","vitest":"^1.5.0"},"peerDependencies":{"fflate":"^0.8.0"},"peerDependenciesMeta":{"fflate":{"optional":true}},"repository":{"type":"git","url":"git+https://github.com/ARES-AM2003/Zip-it-package.git"},"homepage":"https://zipit.dev","_id":"@blueneon/zip-it@2.0.3","gitHead":"63b1d144697181082b145ac8043d63487334f699","bugs":{"url":"https://github.com/ARES-AM2003/Zip-it-package/issues"},"_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-3zKRvCcfzyomv4D4IY1cLrD7u9LdjAXkdl7fOBrBCq3U5lX3bKEjqURAWMKQYrH7TRyMKmSVWo3kU5QICl805w==","shasum":"e5b0939c17e3595c6b11edfd1f1986ffdef8446e","tarball":"https://registry.npmjs.org/@blueneon/zip-it/-/zip-it-2.0.3.tgz","fileCount":12,"unpackedSize":1742670,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHtLUNu6oPpI9DR/KRdHMYHSys/Q55f+o474QInSzGweAiADVu+XsORAA3CEBk6Ibt5ZhQJBL+hqkmJo6f8rLtiMfA=="}]},"_npmUser":{"name":"blueneon","email":"rochaksulu2002@gmail.com"},"directories":{},"maintainers":[{"name":"blueneon","email":"rochaksulu2002@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/zip-it_2.0.3_1780407130468_0.3893930829984773"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-19T06:31:03.342Z","modified":"2026-06-02T13:32:10.750Z","1.0.0":"2026-04-19T06:31:03.637Z","1.0.1":"2026-04-19T16:02:00.806Z","1.0.2":"2026-04-19T16:14:05.593Z","1.0.4":"2026-04-20T17:45:57.513Z","1.0.5":"2026-04-20T18:29:34.658Z","1.0.6":"2026-04-20T19:34:43.400Z","1.0.7":"2026-04-20T19:55:40.367Z","2.0.0":"2026-05-18T13:47:56.298Z","2.0.1":"2026-05-28T05:02:38.160Z","2.0.2":"2026-05-28T05:09:24.123Z","2.0.3":"2026-06-02T13:32:10.635Z"},"bugs":{"url":"https://github.com/ARES-AM2003/Zip-it-package/issues"},"author":{"name":"Blueneon"},"license":"MIT","homepage":"https://zipit.dev","keywords":["download","zip","streaming","browser","opfs","file-system-access","indexeddb","resumable","batch-download"],"repository":{"type":"git","url":"git+https://github.com/ARES-AM2003/Zip-it-package.git"},"description":"High-performance client-side ZIP streaming and resumable batch download engine","maintainers":[{"name":"blueneon","email":"rochaksulu2002@gmail.com"}],"readme":"# ZipIt ⚡\n\n[![npm version](https://img.shields.io/npm/v/@blueneon/zip-it?color=7c6fff&style=flat-square)](https://www.npmjs.com/package/@blueneon/zip-it)\n[![Bundle Size](https://img.shields.io/bundlephobia/minzip/@blueneon/zip-it?label=core%20gzipped&color=22d3a0&style=flat-square)](https://bundlephobia.com/package/@blueneon/zip-it)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)\n[![Tests](https://img.shields.io/github/actions/workflow/status/rochaksulu/zipit/ci.yml?label=tests&style=flat-square)](https://github.com/Prashant8Khatiwada/zipit/actions)\n[![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue?style=flat-square)](https://www.typescriptlang.org/)\n\n> **Client-side ZIP streaming and resumable batch download library for the browser.**\n> No server. No RAM spikes. No compromise.\n\n[**→ Live Demo**](https://zipit.dev) · [**Documentation**](https://zipit.dev/docs) · [**npm**](https://www.npmjs.com/package/@blueneon/zip-it)\n\n---\n\n## Why ZipIt?\n\nTraditional file downloads are broken for large batches:\n\n| Problem | Typical approach | ZipIt |\n|---|---|---|\n| **Zipping on the server** | CPU/memory spike, blocks requests | ✅ Zipped in browser, zero server cost |\n| **RAM exhaustion** | Load all files into memory | ✅ OPFS staging with backpressure |\n| **Lost progress on refresh** | Start over | ✅ Byte-level resumability via IndexedDB |\n| **Flat directory output** | No folder structure | ✅ Native folder structure preserved |\n| **Browser memory limits** | Crash on 1GB+ | ✅ Streaming writes below 5 MB working set |\n\n---\n\n## Getting Started\n\n```bash\nnpm install @blueneon/zip-it fflate\n# or\npnpm add @blueneon/zip-it fflate\n```\n\n**In 5 lines:**\n```ts\nimport { createZipIt } from '@blueneon/zip-it';\n\nconst ds = createZipIt({ concurrency: 4 });\nds.add('https://example.com/photo1.jpg', { folder: 'photos/2024' });\nds.add('https://example.com/photo2.jpg', { folder: 'photos/2024' });\nawait ds.zip('my-photos.zip'); // ← Streams to disk. No RAM spike. No server.\n```\n\n### React\n```bash\nnpm install @blueneon/zipit-react @blueneon/zip-it fflate\n```\n\n```tsx\nimport { useZipIt } from '@blueneon/zipit-react';\n\nfunction Gallery({ urls }) {\n  const { add, start, zip, progress, files } = useZipIt({ concurrency: 4 });\n\n  return (\n    <div>\n      <p>{(progress.overallProgress * 100).toFixed(1)}%</p>\n      <button onClick={() => { urls.forEach(u => add(u)); start({ saveToFolder: true }); }}>\n        Download to Folder\n      </button>\n      <button onClick={() => zip('gallery.zip')}>Download as ZIP</button>\n    </div>\n  );\n}\n```\n\n---\n\n## Core Features\n\n### 1. Client-side ZIP Streaming\nZIP files are assembled in the browser using streaming compression — files are compressed as they download, chunk by chunk:\n\n```ts\n// Stream-zip 500 photos without ever loading them all into RAM\nawait ds.zip('vacation-2024.zip');\n```\n\nNo server endpoint. No temp files on the server. Works offline for cached OPFS files.\n\n### 2. OPFS Staging Pipeline\nFiles are downloaded into the Origin Private File System (OPFS) using `FileSystemSyncAccessHandle` for maximum throughput, then streamed to the user's local folder:\n\n```\nNetwork → [Download Worker] → OPFS → [Main Thread] → Local Disk\n```\n\n### 3. Byte-level Resumability\nDownloads survive page refreshes, browser crashes, and navigation:\n\n```ts\n// On page load — restore a previous session\nconst interrupted = await ds.hydrate();\nif (interrupted.length > 0) {\n  await ds.start({ saveToFolder: true }); // Resume where you left off\n}\n```\n\n### 4. Folder Structure Preservation\n```ts\nds.add('https://cdn.example.com/img1.jpg', { folder: 'photos/london/2024' });\nds.add('https://cdn.example.com/img2.jpg', { folder: 'photos/paris/2024' });\n// → saves as: MyFolder/photos/london/2024/img1.jpg\n//              MyFolder/photos/paris/2024/img2.jpg\nawait ds.start({ saveToFolder: true });\n```\n\n### 5. Intelligent Backpressure\nTwo-layer backpressure prevents RAM from spiking when disk is slower than network:\n- **Layer 1**: ReadableStream `highWaterMark` (5 MB default)\n- **Layer 2**: Worker mailbox chunk cap (10 in-flight chunks default)\n\n---\n\n## Full API Reference\n\n### `createZipIt(options?)`\n\n| Option | Type | Default | Description |\n|---|---|---|---|\n| `concurrency` | `number` | `3` | Parallel downloads |\n| `zipBackpressureLimit` | `number` | `10` | Max in-flight ZIP chunks |\n| `streamBufferBytes` | `number` | `5242880` | Max ReadableStream buffer (5 MB) |\n| `dbName` | `string` | `'zipit_v1'` | IndexedDB store name |\n| `onProgress` | `ProgressHandler` | — | Progress callback |\n| `onComplete` | `CompleteHandler` | — | Called on batch complete |\n| `onError` | `ErrorHandler` | — | Called on file error |\n| `onFileProgress` | `FileProgressHandler` | — | Per-file state changes |\n\n### Instance Methods\n\n```ts\nconst ds = createZipIt(options);\n\n// Queue management\nds.add(url, { filename?, folder?, totalBytes?, metadata? }): FileEntry\nds.addAll(urls, options?): FileEntry[]\n\n// Lifecycle\nawait ds.start({ saveToFolder?: boolean })\nds.pause()\nds.resume()\nds.cancel()\n\n// Output\nawait ds.zip(outputFilename?)          // Stream-zip to disk\nawait ds.saveToFolder()                // Pick folder and transfer\n\n// Events (returns unsubscribe fn)\nds.on('progress', (stats: ProgressStats) => void)\nds.on('complete', (stats: ProgressStats) => void)\nds.on('error', (error: Error, file: FileEntry) => void)\nds.on('file-progress', (file: FileEntry) => void)\nds.off(event, handler)\n\n// State\nds.getFiles(): Map<string, FileEntry>\nds.getProgress(): ProgressStats\nds.isPaused(): boolean\nds.isBusy(): boolean\n\n// Session\nawait ds.hydrate(): FileEntry[]   // Restore previous session\nawait ds.reset()                  // Clear all state + OPFS\n```\n\n---\n\n## Browser Compatibility\n\n| Feature | Chrome | Edge | Firefox | Safari |\n|---|---|---|---|---|\n| Download + ZIP (core) | ✅ 102+ | ✅ 102+ | ✅ 111+ | ✅ 15.4+ |\n| OPFS Staging | ✅ | ✅ | ✅ | ✅ 16+ |\n| Native Folder Save | ✅ | ✅ | ❌ (ZIP fallback) | ❌ (ZIP fallback) |\n| Resumable downloads | ✅ | ✅ | ✅ | ✅ |\n\n---\n\n## Migration from Server-side Zipping\n\n**Before:**\n```ts\n// Server-side: blocks a worker for 30+ seconds per batch, OOM risk\napp.get('/zip', async (req, res) => {\n  const archive = archiver('zip');\n  res.pipe(archive);\n  for (const url of req.query.urls) {\n    archive.append(fetch(url), { name: url.split('/').pop() });\n  }\n  await archive.finalize();\n});\n```\n\n**After:**\n```ts\n// Client-side: instant, free, streams directly to disk\nimport { createZipIt } from '@blueneon/zip-it';\nconst ds = createZipIt();\nurls.forEach(url => ds.add(url));\nawait ds.zip('archive.zip');\n```\n\n---\n\n## Development\n\n```bash\n# Install all workspace deps\npnpm install\n\n# Run web app\npnpm dev\n\n# Run tests\npnpm test\n\n# Build all packages\npnpm build\n\n# Publish (on git tag)\ngit tag v0.1.0 && git push --tags\n```\n\n---\n\n## Contributing\n\nPRs welcome! Please follow [Conventional Commits](https://www.conventionalcommits.org/) for commit messages.\n\n---\n\n## License\n\nMIT © Blueneon\n","readmeFilename":"README.md"}