0.0.2 • Published 9 years ago

ziputil v0.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
9 years ago

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
0.0.2

9 years ago

0.0.1

9 years ago