Files
2023-08-01 13:49:46 +02:00
..
2023-08-01 13:49:46 +02:00
2023-08-01 13:49:46 +02:00
2023-08-01 13:49:46 +02:00

is-gzip Build Status

Check if a Buffer/Uint8Array is a GZIP file

Install

$ npm install --save is-gzip

Usage

var isGzip = require('is-gzip');
var read = require('fs').readFileSync;

isGzip(read('foo.tar.gz'));
// => true

License

MIT License © Kevin Mårtensson