is-gzip
Advanced tools
Weekly downloads
Readme
Check if a Buffer/Uint8Array is a GZIP file
$ npm install is-gzip
const fs = require('fs');
const isGzip = require('is-gzip');
isGzip(fs.readFileSync('foo.tar.gz'));
//=> true
MIT © Kevin Mårtensson
FAQs
Check if a Buffer/Uint8Array is a GZIP file
The npm package is-gzip receives a total of 2,807,381 weekly downloads. As such, is-gzip popularity was classified as popular.
We found that is-gzip demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.