{"_id":"cross-zip@4.1.0","bugs":{"url":"https://github.com/feross/cross-zip/issues"},"dist":{"shasum":"4ebae820d5af1b19232799b02a1d178dc27b49eb","tarball":"http://registry-npm.ywwl.com/cross-zip/download/cross-zip-4.1.0.tgz","fileCount":10,"integrity":"sha512-1Qt5TToubejErMrV9qc5LFdBncl39W7MMx2jEE9qtMFkeOwIRhV9zF9OgeC4YSaIuE97Q9rgesYalVuz7QxNWg==","signatures":[{"sig":"MEYCIQCSnxS0GUGnbQ78/TwPTaQlTbx640FGKa2g6YB470HpwAIhANkAfO66VU0fR+ihrMtkQbzrpTIv1cd8r2e69FElwcvo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEVYz0v2X8pzVh1FDFmZ7jPP1RUa56Bpj5QG56cOSAFxAiEArtxR20l62FZjjBQPqA7Q4kGveiW269HVX2skb2QvP8M="}],"unpackedSize":12153,"size":4147,"noattachment":false,"key":"/cross-zip/-/cross-zip-4.1.0.tgz"},"main":"index.js","name":"cross-zip","author":{"url":"https://feross.org","name":"Feross Aboukhadijeh","email":"feross@feross.org"},"engines":{"node":">=14.14"},"funding":[{"url":"https://github.com/sponsors/feross","type":"github"},{"url":"https://www.patreon.com/feross","type":"patreon"},{"url":"https://feross.org/support","type":"consulting"}],"gitHead":"5fe2463e00ab3dd254eae2b081c160b820b3f27e","license":"MIT","scripts":{"test":"standard && tape test/*.js"},"version":"4.1.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"homepage":"https://github.com/feross/cross-zip","keywords":["ZIP","cross platform","cross-platform","linux","mac","os x","windows","zip"],"repository":{"url":"git://github.com/feross/cross-zip.git","type":"git"},"_npmVersion":"11.19.1","description":"Cross-platform .zip file creation","directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"feross","email":"feross@feross.org"}],"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"devDependencies":{"tape":"^5.0.0","standard":"*"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cross-zip_4.1.0_1794559505862_0.7180288539849732"},"readme":"# cross-zip [![ci][ci-image]][ci-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]\n\n[ci-image]: https://img.shields.io/github/workflow/status/feross/cross-zip/ci/master\n[ci-url]: https://github.com/feross/cross-zip/actions\n[npm-image]: https://img.shields.io/npm/v/cross-zip.svg\n[npm-url]: https://npmjs.org/package/cross-zip\n[downloads-image]: https://img.shields.io/npm/dm/cross-zip.svg\n[downloads-url]: https://npmjs.org/package/cross-zip\n[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg\n[standard-url]: https://standardjs.com\n\n### Cross-platform .zip file creation\n\n## install\n\n```\nnpm install cross-zip\n```\n\n## usage\n\n```js\nvar zip = require('cross-zip')\n\nvar inPath = path.join(__dirname, 'myFolder') // folder to zip\nvar outPath = path.join(__dirname, 'myFile.zip') // name of output zip file\n\nzip.zipSync(inPath, outPath)\n```\n\n## api\n\n### `zip.zip(inPath, outPath, [callback])`\n\nZip the folder at `inPath` and save it to a .zip file at `outPath`. If a `callback`\nis passed, then it is called with an `Error` or `null`.\n\n### `zip.zipSync(inPath, outPath)`\n\nSync version of `zip.zip`.\n\n### `zip.unzip(inPath, outPath, [callback])`\n\nUnzip the .zip file at `inPath` into the folder at `outPath`. If a `callback` is\npassed, then it is called with an `Error` or `null`.\n\n### `zip.unzipSync(inPath, outPath)`\n\nSync version of `zip.unzip`.\n\n## Windows users\n\nThis package requires [.NET Framework 4.5 or later](https://www.microsoft.com/net)\nand [Powershell 3](https://www.microsoft.com/en-us/download/details.aspx?id=34595).\nThese come **pre-installed** on Windows 8 or later.\n\nOn Windows 7 or earlier, you will need to install these manually in order for\n`cross-zip` to function correctly.\n\n## reference\n\n- [Stack Overflow - zipping from command line in Windows](https://stackoverflow.com/questions/17546016/how-can-you-zip-or-unzip-from-the-command-prompt-using-only-windows-built-in-ca)\n\n## related\n\n- [cross-zip-cli](https://github.com/jprichardson/cross-zip-cli): CLI version of cross-zip.\n\n## license\n\nMIT. Copyright (c) [Feross Aboukhadijeh](http://feross.org).\n","publish_time":1794559505987,"_cnpm_publish_time":1794559505987,"dist-tags":{"latest":"4.1.0"}}