ziputil

0.0.2 • Public • Published

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 

Readme

Keywords

Package Sidebar

Install

npm i ziputil

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • capasky