tar-contents

1.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i tar-contents

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • eliwhite