backoffice/node_modules/is-gzip
root ab9f8bb658 first commit 2020-02-06 10:09:39 +00:00
..
README.md first commit 2020-02-06 10:09:39 +00:00
index.js first commit 2020-02-06 10:09:39 +00:00
package.json first commit 2020-02-06 10:09:39 +00: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