Skip to content

A library to create a tar archive from file streams. Support both browser and node.js.

License

Notifications You must be signed in to change notification settings

Spedoske/tar-stream-web

Repository files navigation

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);

About

A library to create a tar archive from file streams. Support both browser and node.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published