HckApm/node_modules/is-gzip
minicx 99e5f883a3 second commit 2023-12-23 14:56:27 +03:00
..
README.md second commit 2023-12-23 14:56:27 +03:00
index.js second commit 2023-12-23 14:56:27 +03:00
package.json second commit 2023-12-23 14:56:27 +03:00

README.md

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