Huge news!Announcing our $20M Series A led by Andreessen Horowitz.Learn more
Socket
Socket
Log inDemoInstall

is-gzip

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Issues
File Explorer

Advanced tools

Install Socket

Protect your apps from supply chain attacks

Install

is-gzip

Check if a Buffer/Uint8Array is a GZIP file

    2.0.0latest
    GitHub
    npm

Version published
Maintainers
1
Weekly downloads
2,882,724
increased by14.2%

Weekly downloads

Readme

Source

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

Keywords

FAQs

Last updated on 13 Aug 2017

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.

Install
SocketSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc