You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rdrew
1440706ce3
|
6 years ago | |
---|---|---|
.. | ||
README.md | 6 years ago | |
index.js | 6 years ago | |
package.json | 6 years ago |
README.md
is-tar
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