You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

buckle

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buckle

Pure JS ZIP extractor, that preserves file attributes.

0.0.3
latest
Source
npmnpm
Version published
Weekly downloads
9
-68.97%
Maintainers
1
Weekly downloads
 
Created
Source

Buckle

Pure JS ZIP extractor, that preserves file attributes. Based on a modified version of DecompressZip.


var buckle = require('buckle');

buckle.open('/path/to/package.zip', '/destination/path', function(err, result) {
  console.log(err || result);
})

That's pretty much it. You can omit the destination path argument, which will unzip the files to the package's current path.

Credits

Written by Tomás Pollak.

(c) 2014 Fork Ltd. MIT licensed.

Keywords

unzip

FAQs

Package last updated on 19 Sep 2014

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