ziputil

Utils to process zip file


Keywords
zip
License
MIT
Install
npm install ziputil@0.0.2

Documentation

ziputil Build Status

Utils to process zip file

install

npm install ziputil --save

usage

const ziputil = require('ziputil');

const urls = [
    'http://www.example.com/x.html',
    'http://www.example.com/y.png'
]
ziputil.zipRemote(
    urls, //remote file urls 
    process.cwd() //zip file save path
);

API

zipRemote(items, destDir, options)

extractFile(zipFile, targetFile)

Run tests

npm install mocha -g #install mocha globally
npm test #run tests