gobble-zip

0.0.2 • Public • Published

gobble-zip

Gobble plugin to zip files/directories into a .zip file.

Installation

I assume you already know the basics of Gobble.

npm i -D gobble-zip

Usage

In your gobblefile, run the zip gobble transform with a dest option, like so:

var gobble = require( 'gobble' );
module.exports = gobble( 'assets' ).transform( 'zip', {
  dest: 'assets.zip'
});

Aditionally, gobble-zip accepts the files and sort options, with the same semantics as gobble-concat.

License

"THE BEER-WARE LICENSE":
<ivan@sanchezortega.es> wrote this file. As long as you retain this notice you
can do whatever you want with this stuff. If we meet some day, and you think
this stuff is worth it, you can buy me a beer in return.

/gobble-zip/

    Package Sidebar

    Install

    npm i gobble-zip

    Weekly Downloads

    1

    Version

    0.0.2

    License

    Beerware

    Last publish

    Collaborators

    • ivansanchez