New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

fly-zip

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fly-zip

ZIP compress files with Fly

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
1
Created
Source

fly-zip npm package

ZIP compress files with Fly.

Install

npm install --save-dev fly-zip

Usage

This will produces a ZIP at releases/Archive.zip, containing all contents within the dist directory.

exports.zip = function * (fly) {
  yield fly.source('dist/**/*').zip({
    dest: 'releases',
    file: 'Archive.zip'
  });
};

API

.zip(options)

options.dest

Type: string
Default: '.'

The directory where the ZIP should be placed. Defaults to Fly's root directory, where flyfile.js is located.

options.file

Type: string
Default: 'archive.zip'

The name of your ZIP file. It must include .zip.

License

MIT © Luke Edwards

Keywords

fly

FAQs

Package last updated on 01 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts