Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

extrakt

Extract .tar and .tar.gz using the system binary (fast!), with a javascript fallback (portable!)

Makes a great team with nectar.

Build Status NPM Version

Install

$ npm install --save extrakt

Usage

const extrakt = require('extrakt');

extrakt('path/to/archive.tar.gz', 'output/directory');

API

extrakt(archive, extractTo)

Extract the archive at the given archive path to the extractTo directory.

Returns a Promise for the completion of the extraction.

archive

Type: string

Path to the archive

extractTo

Type: string

Destination directory

License

MIT © sgtlambda

About

Extract .tar(.gz) using the system binary (fast!), with a javascript fallback (portable!)

Topics

Resources

Packages

No packages published