UNPKG

fast-extract

Version:

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

28 lines 1.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "default", { enumerable: true, get: function() { return create7zPipeline; } }); function create7zPipeline(_dest, _streams, _options) { throw new Error('7z not supported'); // const isPath = typeof options.source === 'string'; // streams = streams.slice(); // if (isPath) { // if (streams.length) { // streams.unshift(new PathToData()); // streams.push(new WriteFileTransform(dest, options)); // } // } else { // streams.push(new WriteFileTransform(dest, options)); // } // streams.push(new SevenZTransform()); // !options.progress || streams.push(new EntryProgressTransform(options)); // streams.push(createWriteEntriesStream(dest, options)); // return streams; } /* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }