8000 GitHub - hanhaotian87/zip-util: a nodejs zip unzip simple util
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hanhaotian87/zip-util

Repository files navigation

NPM Version ![NPM Downloads][downloads-image]

zip-util

This is a util for simple use zip unzip, it used archive.zip and unzipper.
zip support file, files, string, buffer,stream as src

Installation

$ npm install @hanhaotian/zip-util

Quick Examples

Extract to a directory

let result = await zipUtil.zip(src, dest,newName)
let result = await zipUtil.unzip(src, dest)

zip complete 'result' will return 'complete' ,otherwise return error message .

Licenses

See LICENCE

About

a nodejs zip unzip simple util

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0