Skip to content

Latest commit

 

History

History
54 lines (30 loc) · 1.08 KB

readme.md

File metadata and controls

54 lines (30 loc) · 1.08 KB

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