JSPM

is-zip

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 110237
  • Score
    100M100P100Q150234F
  • License MIT

Check if a Buffer/Uint8Array is a ZIP file

Package Exports

  • is-zip

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-zip) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

is-zip Build Status

Check if a Buffer/Uint8Array is a ZIP file

Install

$ npm install --save is-zip

Usage

var isZip = require('is-zip');
var read = require('fs').readFileSync;

isZip(read('foo.zip'));
// => true

License

MIT License © Kevin Mårtensson