tgz

Extract files from a tgz archive in node.js in memory - yes, this doesn't write to disk.

Usage no npm install needed!

<script type="module">
  import tgz from 'https://cdn.skypack.dev/tgz';
</script>

README

Description build status

Extract files from a tgz archive in node.js in memory - yes, this doesn't write to disk.

Usage

var tgz = require('tgz');
tgz(filename_or_stream, function(error, files) { console.log(files['folder/file.txt']); );

Installation

npm install tgz

License

MIT