advzip-bin
v2.0.0
Published
AdvZIP bin-wrapper that makes it seamlessly available as a local dependency
Maintainers
Readme
advzip-bin 
Recompress ZIP files to their smallest possible sizes.
Install
$ npm install --save advzip-binUsage
When installed in a project, the advzip executable will be installed in your node_modules
folder. Require the advzip-bin module from your project to retrieve the path to the executable,
for example:
const { execFile } = require('child_process');
const advzip = require('advzip-bin');
execFile(advzip, ['--recompress', '--shrink-extra', 'archive.zip'], err => {
console.log('ZIP file minified!');
});CLI Usage
$ npm install --global advzip-bin$ advzip --helpInspiration
Package structure lifted from the sister package advpng-bin.
License
Licensed under MIT. Full license here »
