Have ideas to improve npm?Join in the discussion! »

is-gzip

2.0.0 • Public • Published

is-gzip Build Status

Check if a Buffer/Uint8Array is a GZIP file

Install

$ npm install is-gzip

Usage

const fs = require('fs');
const isGzip = require('is-gzip');
 
isGzip(fs.readFileSync('foo.tar.gz'));
//=> true

License

MIT © Kevin Mårtensson

Install

npm i is-gzip

DownloadsWeekly Downloads

568,128

Version

2.0.0

License

MIT

Last publish

Collaborators

  • avatar