is-gzip

WebJar for is-gzip

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-gzip
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

is-gzip
WebJar for is-gzip
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/kevva/is-gzip

Download is-gzip

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/is-gzip/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>is-gzip</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/is-gzip/
implementation 'org.webjars.npm:is-gzip:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/is-gzip/
implementation ("org.webjars.npm:is-gzip:1.0.0")
'org.webjars.npm:is-gzip:jar:1.0.0'
<dependency org="org.webjars.npm" name="is-gzip" rev="1.0.0">
  <artifact name="is-gzip" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='is-gzip', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "is-gzip" % "1.0.0"
[org.webjars.npm/is-gzip "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.0.0