decompress
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -199,3 +199,4 @@ 'use strict'; | ||
module.exports.tar = require('decompress-tar'); | ||
module.exports.tarbz2 = require('decompress-tarbz2'); | ||
module.exports.targz = require('decompress-targz'); | ||
module.exports.zip = require('decompress-unzip'); |
{ | ||
"name": "decompress", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Easily extract archives", | ||
@@ -34,2 +34,3 @@ "license": "MIT", | ||
"decompress-tar": "^1.0.0", | ||
"decompress-tarbz2": "^1.0.1", | ||
"decompress-targz": "^1.0.0", | ||
@@ -36,0 +37,0 @@ "decompress-unzip": "^1.0.0", |
@@ -21,3 +21,9 @@ # decompress [![Build Status](https://travis-ci.org/kevva/decompress.svg?branch=master)](https://travis-ci.org/kevva/decompress) | ||
decompress.decompress(); | ||
decompress.decompress(function (err) { | ||
if (err) { | ||
throw err; | ||
} | ||
console.log('Archive extracted successfully!'); | ||
}); | ||
``` | ||
@@ -31,6 +37,2 @@ | ||
### .use(plugin) | ||
Add a `plugin` to the middleware stack. | ||
### .src(file) | ||
@@ -44,2 +46,6 @@ | ||
### .use(plugin) | ||
Add a `plugin` to the middleware stack. | ||
### .decompress(cb) | ||
@@ -46,0 +52,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8545
264
125
8
+ Addeddecompress-tarbz2@^1.0.1
+ Addedcommander@2.20.3(transitive)
+ Addeddecompress-tarbz2@1.0.2(transitive)
+ Addedis-bzip2@1.0.0(transitive)
+ Addedseek-bzip@1.0.6(transitive)