1.0.0 • Published 10 years ago

is-tar v1.0.0

Weekly downloads
234,630
License
MIT
Repository
github
Last release
10 years ago

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