JSPM

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

UNIX-only wrapper for unzip bin which tests for and repairs errors on zip files if found prior to extraction.

Package Exports

  • unzip-wrapper

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 (unzip-wrapper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

unzip-wrapper

This package wraps the native 'unzip' UNIX binary on *NIX machines.

Example usage:

var unzip = require('unzip-wrapper');
unzip('/path/to/file.zip');

You can also pass options:

unzip('/path/to/file.zip', {fix: true});

The following options are available:

  • fix (true/false) -- whether to check for and attempt to fix any errors with the archive.