code: function unzip(src, dist) {
      if (isString(src)) {
  
          // 获取输出目录
          if (arguments.length === 1) {
              dist = src.replace(/\.zip$/, '');
          }
  
          // 校验参数
          if (isString(dist)) {
              return new Promise((resolve, reject) => {
                  let archive = fs.createReadStream(src),
                      output = unarchiver.Extract({ path: dist });
  
                  // 监听回调
                  archive.on('error', reject);
                  output.on('error', reject);
                  output.on('close', resolve);
  
                  // 设置管道输出
                  archive.pipe(output);
              });
          }
      }
  }
docs: ****************************************
  解压文件
  ****************************************