{"_id":"do-not-zip","_rev":"5-c5645064943a3600152784857096b09b","name":"do-not-zip","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"do-not-zip","version":"0.1.0","description":"Do not zip. Just store.","keywords":["browser","zip","archive"],"main":"./dist/do-not-zip.cjs.js","module":"./do-not-zip.js","files":["do-not-zip.js","dist"],"repository":{"type":"git","url":"git+https://github.com/Conduitry/do-not-zip.git"},"author":{"name":"Conduitry"},"license":"MIT","bugs":{"url":"https://github.com/Conduitry/do-not-zip/issues"},"homepage":"https://cndtr.io/do-not-zip/","devDependencies":{"rollup":"*"},"scripts":{"build":"rollup -c"},"gitHead":"92dfb04bf1b95d12bf3d6d1bf72db25ba13bd214","_id":"do-not-zip@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"conduitry","email":"npm@fur.army"},"dist":{"integrity":"sha512-YoGRI1BdBEwVRa8BhHVvIRoOKkRnuzljk+gZBqShPqaNtjvmTNPCCx8UQnQuvzlYELeK7cFAf5xG85FYaPZMWw==","shasum":"8dc5ede24b28d6845813d8814c0312d17dd17336","tarball":"https://registry.npmjs.org/do-not-zip/-/do-not-zip-0.1.0.tgz","fileCount":7,"unpackedSize":10508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2QXpCRA9TVsSAnZWagAAMzcP/3vbqBa/BGmEJl76o+Gc\naRqGj05C0CDOI/XMvib859QpRrg5EPVmwcPyDReeSOeF2pcqu8TkUU7HEI0C\nXxsrz7RgRk1j8h9SWJM5zDa47/HZls8t5gykpeHGQIu6az8TdkgvFHDEaf+E\n9UYDsQeozThY/9Paqe6eyJRfFKSHHLe43btJIds7RsBparFqxxSDMynJ8Upq\nQTUm2gbKyuvoz2OakvV4Zs+R5Z4hE5OLh3n9eutTQAc+/ufRzDYrddZG9Zb2\nnhibKC/AM+SICYGrh7pL+WoN4R1o5X8PIO5fhy/nnMVVeF5TpvOlkye3RAK/\nQXxaz2jOz0pnmB5nX6HD9DUZtyg+jUnbtyZVUVx6XifpBKDDiYKvQ/nSfC4T\n6+wiw6wpNGQBqCowmjcgKbRDTZXILJ3Wv4gEEgrmQiH5uZrpN2+sNd9DOqKP\nVl3a2V2bV/Lt2iP0yVfDhyaC3n8AybRUSWRN4Eq/WKrzit1cUQ/9ESw9NdSL\nUwR1cN8cAoMbjVWwIJtDKaGvoTpU2ZcLoZr19qOHWaHOeZJbWMzr2vRXsTEf\nlU+8P+j8Sdh5tcOK6kPyEE1zGbwNpF8wnUpQLc5cWIrc6ofEPap/4knp9Lyf\nXIG7DkmpMvp2tf8CP4ZRmsNevB3lY+tad0W0pmRtatzm8MXqPpcVmhYiSWsi\nWEIX\r\n=m+10\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIESJ2mIThDnZMVxbUJmReZHRdjhEm+rc8wHA/KcKzgaAAiEA6B9ICv5s3JYvPTqOyHH7Lgx39XyYHCsqtT7FAhX5HrU="}]},"maintainers":[{"name":"conduitry","email":"npm@fur.army"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/do-not-zip_0.1.0_1524172265142_0.594256273646576"},"_hasShrinkwrap":false},"0.1.1":{"name":"do-not-zip","version":"0.1.1","description":"Do not zip. Just store.","keywords":["browser","zip","archive"],"main":"./dist/do-not-zip.cjs.js","module":"./do-not-zip.js","files":["do-not-zip.js","dist"],"repository":{"type":"git","url":"git+https://github.com/Conduitry/do-not-zip.git"},"author":{"name":"Conduitry"},"license":"MIT","bugs":{"url":"https://github.com/Conduitry/do-not-zip/issues"},"homepage":"https://cndtr.io/do-not-zip/","devDependencies":{"rollup":"*"},"scripts":{"build":"rollup -c"},"gitHead":"c8f566c2fe897be378615938e3047f8713d91385","_id":"do-not-zip@0.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"conduitry","email":"npm@fur.army"},"dist":{"integrity":"sha512-VrsCkXU+ZZL2vsFWhbcM84WwpOZyV68ACWHCmOnO2L3G3zd4XlXcdFXLoNFBdXsH4N3tQWM2tfTcWoRZMcL3bA==","shasum":"751a4e0fd28b06f89fc1dcbb0750ff761641e8fc","tarball":"https://registry.npmjs.org/do-not-zip/-/do-not-zip-0.1.1.tgz","fileCount":7,"unpackedSize":10750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2Qx0CRA9TVsSAnZWagAAERAP/R5//wzjvwkoTCY3RmsT\nbnVmUFu9PZ+2b3OKI9XvWxsEnjbKOyQA1RephRUGByfbRSQalpw/htFoB5cg\nH6EpDYePmFNf2KvwWlML7xkX0xuqPB0mSGlNG3CqxCbjAJuVRFT3v+wWhhiH\n/FBPn/gxAHD3jpuVfxi7Gz7NYNE7CzH6nibE6ei97+MZ+Ie7CnZTMHMX7/6P\nHu9d8maAf4wB0XrooIi3Kp+ZGPadKLP3eAXoZLxvV/cs22uoWJcAkULxpxNS\n6fRo02V4K6oJziP2HOFr9J/df5/O1DxuTrS620XwRm2XEfosaCONhd1d0AFK\nIgZn84vjQ/bcg8sT3tyltpYjqeOD/RQIQ5TN1yPpIgRkX3UulAbypbtxtiix\ni8w2Lv1OwqF6XP/Y7cYO1CN97mSUB6qFwKuJsZ8699vAdEpf1AWIVCIxTS+J\nfvM2uVorrs7DvkaEL4VWRlAkhw8Lm0TZMnYANubAm3Z14z+TZ6ojUPuCwYZa\nuynmmjEJ3CX4i5H4oBGtTnfoReHa3uUwe7Gz57Nch3IrI5og0JmYnU0sD1Rm\nxG5aS49vSH1LqxI5Dlzkfzd8kLOpccnCUrTlzfE5rk2ofY891Z6jsYfVKeQX\nhnzotMJjx4vSTErk7itL+z6WiQks64AUbnFXngSlBiypPFvElHaDcHy7T8ZJ\nc111\r\n=q5UJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGSd8kBramb0WDX4sFgX/BNoQsgJt0JVl46StPUCQy6JAiBQ4NQhME7eA2SKC9+GVi5RG0V8V5r0kIpY6GFb+DH2mA=="}]},"maintainers":[{"name":"conduitry","email":"npm@fur.army"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/do-not-zip_0.1.1_1524173939018_0.02015485013131535"},"_hasShrinkwrap":false},"0.1.2":{"name":"do-not-zip","version":"0.1.2","description":"Do not zip. Just store.","keywords":["browser","zip","archive"],"main":"./dist/index.cjs.js","module":"./src/index.js","repository":{"type":"git","url":"git+https://github.com/Conduitry/do-not-zip.git"},"author":{"name":"Conduitry"},"license":"MIT","bugs":{"url":"https://github.com/Conduitry/do-not-zip/issues"},"homepage":"https://conduitry.io/do-not-zip","devDependencies":{"browserify":"16.2.0","jszip":"3.1.5","rollup":"*","rollup-plugin-commonjs":"9.1.0","rollup-plugin-node-resolve":"3.3.0","tap-colorize":"1.2.0","tape-run":"4.0.0","zora":"2.0.1"},"scripts":{"build":"rollup -c","build:jszip":"browserify -s jszip node_modules/jszip/lib/index.js > test/jszip.js","test:browser":"npm run build:jszip && rollup -c rollup.config.test.js | tape-run | tap-colorize","test:node":"node test/test.node.js | tap-colorize","test":"npm run build && npm run test:node && npm run test:browser"},"gitHead":"e6e2876d86581f9c756e6dc345be6d32bbf98c8b","_id":"do-not-zip@0.1.2","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"conduitry","email":"npm@chor.date"},"dist":{"integrity":"sha512-tnjQ2+OkGri5p7p34WW9HSaLE9J4y6tGYPryqlVfKvO5UDzT37ZvhXNX99U6KMqps3fIOufwK1rxB3W9gnwyUA==","shasum":"bf834d0630f02e35bf7ba5828797b3e542ffa255","tarball":"https://registry.npmjs.org/do-not-zip/-/do-not-zip-0.1.2.tgz","fileCount":9,"unpackedSize":17662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqqu/CRA9TVsSAnZWagAAqJsP/Rg2T9AvlWVP9s/1Ye7M\naGiPgQ2pPRSoccHNrhNK6os2Z0EUM7bE7XVi9yv54v6DCb2L97KKjUuTEkGi\nHSSDAZRFvforL9Zaw8rGZPW7YrnlNJQULh3XcKI8rP/qYho4J7FthVCD1vNl\nDkhazYP2XlBSPElmIEo+ZV/3pnFSZregI+mDbB1KLaP2Vem8U7xDj6kFzuwK\nSevysvmtSn3JaaidEjXGC8eOTl4OFtsxHhfctMNBujqhDO10942gyyZbt/Ed\neAIZWObcEJtnqttEPFg8S5qUK9Xh+WPx+pBfhGu2QY1eZJIJHduMLEgL5lNm\nMgoN6pLMcDQbhqtuROfabW86WVIDDV8tTpO17y2WVgHJwRqQG6v2xH983DiP\nZhMy1S85IBaMuZE1Uj1cPw96+a9S8+f4CZ1nCP70qKwffxEj3mY59LPJAvpU\nSX+alwJZvmejt/elUhZhvyKzJ2tRohjPGrakj7RNu0Y8e42v2KvbxGNPlG7u\n7TEfRbTa6qQyOcZ11RsAfpNrNVpZXLDZIVvOyMrVEN+Mska0OvliqZbStF1c\nXThuSBa7SgdWE3M8XGZB/xNo3GgyWCVOxuxLPQ+mbsu9bFq4CJXw667Kzgr5\nm1u7wPPhGt7maZ1EsP/OzeclLdx7BWTWED5ecW9O8hDqgYq/qvs96jnuPcQD\ntled\r\n=AJub\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9ycbAwZDbWVGNfwBq3ZGLCgVCIcFNtAQnP0su65lMeAiEAmUSRN4qKkyncuotqhDUN8TDdgVZxKqsB/cJbY1BNgpk="}]},"maintainers":[{"name":"conduitry","email":"npm@fur.army"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/do-not-zip_0.1.2_1537911742411_0.23011804702169925"},"_hasShrinkwrap":false},"0.1.3":{"name":"do-not-zip","version":"0.1.3","description":"Do not zip. Just store.","keywords":["browser","zip","archive"],"main":"./dist/index.cjs.js","module":"./src/index.js","repository":{"type":"git","url":"git+https://github.com/Conduitry/do-not-zip.git"},"author":{"name":"Conduitry"},"license":"MIT","bugs":{"url":"https://github.com/Conduitry/do-not-zip/issues"},"homepage":"https://conduitry.io/do-not-zip","devDependencies":{"browserify":"16.2.0","jszip":"3.1.5","rollup":"*","rollup-plugin-commonjs":"9.1.0","rollup-plugin-node-resolve":"3.3.0","tap-colorize":"1.2.0","tape-run":"4.0.0","zora":"2.0.1"},"scripts":{"build":"rollup -c","build:jszip":"browserify -s jszip node_modules/jszip/lib/index.js > test/jszip.js","test:browser":"npm run build:jszip && rollup -c rollup.config.test.js | tape-run | tap-colorize","test:node":"node test/test.node.js | tap-colorize","test":"npm run build && npm run test:node && npm run test:browser"},"gitHead":"be93cdb01195610c329ec5b5192d88a2e73622a4","_id":"do-not-zip@0.1.3","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"conduitry","email":"npm@chor.date"},"dist":{"integrity":"sha512-7fMTqjT1kz1bHBYgk2bYYFNc03z1oP+xD0bR8u5eqKDWIqEsi/KF3SSrNP/KlMlLUpV6IgeCkC5wlCGxkFOmfQ==","shasum":"8b014aced0b11c91cedd49718c4333043ac3fe0f","tarball":"https://registry.npmjs.org/do-not-zip/-/do-not-zip-0.1.3.tgz","fileCount":9,"unpackedSize":17753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbquqTCRA9TVsSAnZWagAAqx0P/05TkCkVSVbPcuqcd8ma\n/bHMJ7vnrV2ywaZ8piLjfAu0dc/jbwG5H8AAUBWFPr27s+frOUuqv8mdL2n6\ni4pUgHSqZRFSI+/AVzuYpTfilT0Q29iRDhAi5kJVdOZCtqjlYoMgLxDIIgLd\n57YNJNOvlOlxJjhIDOyVegm7VSXJdlvO6E9iRrfop9j9mRuwGPmBJDJB8Xp6\nIR48R+NNk5sf2BIGHw4eM/Xt+RyQBePeMU22UsP6aBUmiC6eatMdBOL+K+sI\nG8o9GJQJUgtsilCD9G0LM0r83HzL9s+lbJmwbboV4IXwk3fvjzioiysg0N2E\nETvd6VJVk4DbO3aideDD1li2hAwBeIIU2kZigonSoIM+yuapyjFQ2yR+55S8\nhqhjTLRh0JDLgccoustjseOABR8G6E1RIqQJ044zUNYQmizXjVB/Zxp1Jr4e\nD2KwURcWxJV+2Nkoc7aWiacFc0MLXTPWlhTTpuu4rqTbdZWLrd5RtOaYiT03\ngB42TEcSEiGu5hcXZz4bL+aryQAZIJPwJUrwFA86eo73Ng2ZgU2+KF5yg/eI\nRPdaG4HMP2HuCxTgVJ3p90TzMqqQGgHJSPGJkhVV/VDruIh9MlYx3DEzQdZn\nXx+Z9R0Q10y506rMBpoRxL4iHfXevXDsnnRD8DLEQIZoc4gS+zBpTy8coupg\nMjdk\r\n=xqDx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEEW7kAVpfcbWSGBg0iK7fNFBKcjmbqTcf5W4b1kFD1wIhAKz9wCAO5zQmPgAznnGcTYlwrCcnE4/m8/cMLCo6uPaw"}]},"maintainers":[{"name":"conduitry","email":"npm@fur.army"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/do-not-zip_0.1.3_1537927827182_0.811703086582058"},"_hasShrinkwrap":false},"1.0.0":{"name":"do-not-zip","version":"1.0.0","description":"Do not zip. Just store.","keywords":["browser","zip","archive"],"main":"./dist/index.cjs.js","module":"./dist/index.es.js","repository":{"type":"git","url":"git+https://github.com/Conduitry/do-not-zip.git"},"author":{"name":"Conduitry"},"license":"MIT","bugs":{"url":"https://github.com/Conduitry/do-not-zip/issues"},"homepage":"https://conduitry.io/do-not-zip","devDependencies":{"browserify":"16.2.3","jszip":"3.1.5","rollup":"*","rollup-plugin-commonjs":"9.2.0","rollup-plugin-node-resolve":"3.4.0","tap-colorize":"1.2.0","tape-run":"4.0.0","zora":"2.0.1"},"scripts":{"build":"rollup -c","build:jszip":"browserify -s jszip node_modules/jszip/lib/index.js > test/jszip.js","test:browser":"npm run build:jszip && rollup -c rollup.config.test.js | tape-run | tap-colorize","test:node":"node test/test.node.js | tap-colorize","test":"npm run build && npm run test:node && npm run test:browser"},"gitHead":"0bdfba0b4e5e16b05bc97faa506ac9cba052a626","_id":"do-not-zip@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"conduitry","email":"npm@chor.date"},"dist":{"integrity":"sha512-Pgd81ET43bhAGaN2Hq1zluSX1FmD7kl7KcV9ER/lawiLsRUB9pRA5y8r6us29Xk6BrINZETO8TjhYwtwafWUww==","shasum":"cdced6c6352664ecb368f9fe7a15e1cb40c50c42","tarball":"https://registry.npmjs.org/do-not-zip/-/do-not-zip-1.0.0.tgz","fileCount":8,"unpackedSize":16996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4tWZCRA9TVsSAnZWagAA0kcP/jD3Fnh4GymKNAofw6BT\nEIv5GfoyswD/odB8Q7/xJNMtZDIbW0wTnH4+iuvZd6q4YxAA0Gu4oTjbkx/W\nOy6Zv9ai6SQERqJ6hbElYCUdFoRr2EV9RS91W3RfNq+wLQ7OdYuTZiXuW+xi\nciwFXybkbJsl0xYV0n/+YWzkL1RYBpFwOn9h6MPVynQEbWrNhdr+wSUtmy5X\ntqKB75O5bDnydSpoMbFFlJj3eRIkj0E24yU42q+722H4Fmebp7h6yA8vYdbY\nPNHnG8icV8C8WI9SPt8OWJnIr7DcqDpTQc0me6tUJLLRhWszIwNHuXY5ygFh\n/UAXvCfhFFYZo9ROcDmnJ0eFwPNaylQZmxSu+Qi+6W8gsZ/e7frDy7ozKKmT\na9yk85xkoZGWlYPJFfNdMCXQW4oJhEEeQeSYcpzKwBNFOSUPp8f5KcPXwY7Z\natnSNAlEoz+oGnttTh5EiRT3dmcAhIHjsw25mVspyi2ESLNPpGyyZd5wTLE3\nq3to56v5gx34rwN4nKU70DxEUS/ZxX1/CosuxLm09ATxJmHE2nWn7SiidPtG\ns5NwnwCcrRxhjCJXGEBag9iwlaFeg4k2LonLswzzGKTMmy+FmIuG4yTy7W+Y\n2294fRHmRN14d75fhaVq+LU7KFf05DuiCPIcURJdKGMQdgWhj2luMhNX/zOC\nyEpr\r\n=4V1Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2tFWcA5fe4oYAFcmfbhDgXdY/HhJLfggJQJQrkcpShgIhANA8SEiBjn3x0IMwG0ClP7dsVvHbzbINhR5cFZbqQN/2"}]},"maintainers":[{"name":"conduitry","email":"npm@fur.army"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/do-not-zip_1.0.0_1541592472220_0.5540179471879405"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-19T21:11:05.140Z","0.1.0":"2018-04-19T21:11:05.254Z","modified":"2022-04-29T00:29:25.024Z","0.1.1":"2018-04-19T21:38:59.390Z","0.1.2":"2018-09-25T21:42:22.569Z","0.1.3":"2018-09-26T02:10:27.310Z","1.0.0":"2018-11-07T12:07:52.376Z"},"maintainers":[{"name":"conduitry","email":"npm@fur.army"}],"description":"Do not zip. Just store.","homepage":"https://conduitry.io/do-not-zip","keywords":["browser","zip","archive"],"repository":{"type":"git","url":"git+https://github.com/Conduitry/do-not-zip.git"},"author":{"name":"Conduitry"},"bugs":{"url":"https://github.com/Conduitry/do-not-zip/issues"},"license":"MIT","readme":"# do-not-zip\n\n[![npm version](https://img.shields.io/npm/v/do-not-zip.svg?style=flat-square)](https://www.npmjs.com/package/do-not-zip)\n\nDo not zip. Just store.\n\n## What\n\nStick some text files into a zip file. This library is super simple and small because it just stores the files without compressing them, which is often sufficient when all you want to do is let the user download some files generated in the browser. Works on the server (Node.js) and on the client (JavaScript). Requires ES2015+.\n\n## How\n\n```javascript\nimport * as doNotZip from 'do-not-zip';\nconst output = doNotZip.toArray([\n\t{ path: 'path/to/file1.txt', data: 'Hello' },\n\t{ path: 'another/file2.txt', data: 'World' },\n\t{ path: 'yet/another/file3.bin', data: [1, 2, 3, 4, 5] },\n]);\n// => output will be an array of bytes\n// use .toBuffer on the server to generate a Buffer, and use .toBlob on the client to generate a Blob\n// use .toAuto to generate a Buffer on the server or a Blob on the client\n```\n\n## Thanks\n\n- https://github.com/mrananyan/ZipperJS\n- https://users.cs.jmu.edu/buchhofp/forensics/formats/pkzip.html\n- https://stackoverflow.com/a/18639999\n\n## License\n\nCopyright (c) 2018 Conduitry\n\n- [MIT](LICENSE)\n","readmeFilename":"README.md"}