fast-extract
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

fast-extract

Extract contents from various archive types (tar, tar.bz2, tar.gz, tar.xz, tgz, zip).

var assert = require('assert')
var extract = require('fast-extract'))

// provide the type
extract('/path/file', fullPath, { strip: 1, type: 'tar.gz' }, function(err) {})

// use the type
await extract('/path/file.tar.gz', fullPath, { strip: 1 })

Package Sidebar

Install

npm i fast-extract

Weekly Downloads

4,823

Version

1.2.2

License

MIT

Unpacked Size

174 kB

Total Files

140

Last publish

Collaborators

  • kmalakoff