Package Exports
- bizzy
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bizzy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Bizzy

Extract .tar.bz2 archives with emitter.
Global
Bizzy could be installed global with
npm i bizzy -gAnd used this way:
Usage: bizzy [filename]
Options:
-h, --help display this help and exit
-v, --version output version information and exitLocal
Bizzy could be used localy. It will emit event on every extracted file.
Good for making progress bars.
Install
npm i bizzy --saveHow to use?
from- path to .tar.bz2 archiveto- path to directory where files would be stored.
const bizzy = require('bizzy');
const path = require('path');
const cwd = process.cwd();
const name = 'pipe.tar.bz2';
const to = cwd + '/pipe-io';
const from = path.join(cwd, name);
const extract = bizzy(from, to);
extract.on('file', (name) => {
console.log(name);
});
extract.on('progress', (percent) => {
console.log(percent + '%');
});
extract.on('error', (error) => {
console.error(error);
});
extract.on('end', () => {
console.log('done');
});In case of starting example output should be similar to:
33%
67%
100%
doneRelated
- Jag - Pack files and folders with tar and gzip.
- Jaguar - Pack and extract .tar.gz archives with emitter.
- OneZip - Pack and extract zip archives with emitter.
- Tar-to-zip - Convert tar and tar.gz archives to zip.
- Copymitter - Copy files with emitter.
- Remy - Remove files with emitter.
License
MIT