is-tar

1.0.0 • Public • Published

is-tar Build Status

Check if a Buffer/Uint8Array is a TAR file

Install

$ npm install --save is-tar

Usage

var isTar = require('is-tar');
var read = require('fs').readFileSync;
 
isTar(read('file.tar'));
// => true

License

MIT © Kevin Mårtensson

Package Sidebar

Install

npm i is-tar

Weekly Downloads

221,166

Version

1.0.0

License

MIT

Last publish

Collaborators

  • kevva