1.0.6 • Published 2 years ago
tar-stream-web v1.0.6
tar-stream-web
A library to create a tar archive from file streams. Support both browser and node.js.
Usage
import Tarball from 'tar-stream-web';
let tape = new Tar([{
name: 'path_1/path_2/file',
size: 4,
content: '1234'
}]);
// tape.stream is a ReadableStream
console.log(tape.stream);