advzip-bin

2.0.0 • Public • Published

advzip-bin Build Status

Recompress ZIP files to their smallest possible sizes.

Install

$ npm install --save advzip-bin

Usage

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 --help

Inspiration

Package structure lifted from the sister package advpng-bin.

License

Licensed under MIT. Full license here »

Package Sidebar

Install

npm i advzip-bin

Weekly Downloads

14

Version

2.0.0

License

MIT

Unpacked Size

5.14 kB

Total Files

8

Last publish

Collaborators

  • elliot-nelson