{"_id":"is-gzip","_rev":"17953","name":"is-gzip","description":"Check if a Buffer/Uint8Array is a GZIP file","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"kevva","email":""}],"time":{"modified":"2021-06-03T09:59:23.000Z","created":"2014-04-22T13:55:05.039Z","2.0.0":"2017-08-13T15:56:02.298Z","1.0.0":"2014-08-25T00:16:32.465Z","0.1.0":"2014-04-22T13:55:05.039Z"},"users":{},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"repository":{"type":"git","url":"git+https://github.com/kevva/is-gzip.git"},"versions":{"2.0.0":{"name":"is-gzip","version":"2.0.0","description":"Check if a Buffer/Uint8Array is a GZIP file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/is-gzip.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["archive","buffer","check","detect","gzip","type","uint8array"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"13dab7c877787bd5cff9de5482b1736f00df99c6","bugs":{"url":"https://github.com/kevva/is-gzip/issues"},"homepage":"https://github.com/kevva/is-gzip#readme","_id":"is-gzip@2.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"f4fed2bbd9f96bf2cb39e19262797fdb15aad933","size":1435,"noattachment":false,"key":"/is-gzip/-/is-gzip-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-gzip/download/is-gzip-2.0.0.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-gzip-2.0.0.tgz_1502639761421_0.1586394365876913"},"directories":{},"publish_time":1502639762298,"_cnpm_publish_time":1502639762298,"_hasShrinkwrap":false},"1.0.0":{"name":"is-gzip","version":"1.0.0","description":"Check if a Buffer/Uint8Array is a GZIP file","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/is-gzip"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js"],"keywords":["archive","buffer","check","detect","gzip","type","uint8array"],"devDependencies":{"ava":"0.0.4","mocha":"^1.18.2","read-chunk":"^1.0.0"},"gitHead":"be4085dfd55db9f19c7af8341558e29d2ce44837","bugs":{"url":"https://github.com/kevva/is-gzip/issues"},"homepage":"https://github.com/kevva/is-gzip","_id":"is-gzip@1.0.0","_shasum":"6ca8b07b99c77998025900e555ced8ed80879a83","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"6ca8b07b99c77998025900e555ced8ed80879a83","size":875,"noattachment":false,"key":"/is-gzip/-/is-gzip-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-gzip/download/is-gzip-1.0.0.tgz"},"directories":{},"publish_time":1408925792465,"_cnpm_publish_time":1408925792465,"_hasShrinkwrap":false},"0.1.0":{"name":"is-gzip","version":"0.1.0","description":"Check if a Buffer/Uint8Array is a GZIP file","license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/is-gzip"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"browser":"browserify -s $npm_package_name -o browser.js .","test":"mocha --reporter list"},"files":["index.js"],"keywords":["archive","buffer","check","detect","gzip","type","uint8array"],"devDependencies":{"browserify":"^3.44.2","mocha":"^1.18.2"},"bugs":{"url":"https://github.com/kevva/is-gzip/issues"},"homepage":"https://github.com/kevva/is-gzip","_id":"is-gzip@0.1.0","dist":{"shasum":"093ff37db165d4c20c2055d5bb04c2d66cbc7ce8","size":935,"noattachment":false,"key":"/is-gzip/-/is-gzip-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-gzip/download/is-gzip-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"directories":{},"publish_time":1398174905039,"_cnpm_publish_time":1398174905039,"_hasShrinkwrap":false}},"readme":"# is-gzip [![Build Status](https://travis-ci.org/kevva/is-gzip.svg?branch=master)](https://travis-ci.org/kevva/is-gzip)\n\n> Check if a Buffer/Uint8Array is a GZIP file\n\n\n## Install\n\n```\n$ npm install is-gzip\n```\n\n\n## Usage\n\n```js\nconst fs = require('fs');\nconst isGzip = require('is-gzip');\n\nisGzip(fs.readFileSync('foo.tar.gz'));\n//=> true\n```\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","_attachments":{},"homepage":"https://github.com/kevva/is-gzip#readme","bugs":{"url":"https://github.com/kevva/is-gzip/issues"},"license":"MIT"}