TheSavior / tar-contents

Read the contents of a tar file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tar-contents Build Status

Read the contents of a tar file

npm install tar-contents --save

Example

var tarContents = require('tar-contents');

tarContents.getFiles('myFile.tar.gz')
.then(function(files) {
  console.log(files);
});

getFiles returns a Bluebird promise which results in an array with the contents of the tar.

About

Read the contents of a tar file


Languages

Language:JavaScript 100.0%