8000 GitHub - kevva/is-gzip: Check if a Buffer/Uint8Array is a GZIP file
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kevva/is-gzip

Repository files navigation

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

About

Check if a Buffer/Uint8Array is a GZIP file

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0