docs: function zip(from, to) {
      return __awaiter(this, void 0, void 0, function* () {
          return new Promise((resolve, reject) => {
              if (fs.existsSync(to)) {
                  fs.unlinkSync(to);
              }
              private_1.zipFolder(nodezip, fs, from, '');
              fs.writeFile(to, nodezip.generate({ base64: false, compression: 'DEFLATE' }), 'binary', err => {
                  if (err) {
                      reject(err);
                  }
                  else {
                      resolve();
                  }
              });
          });
      });
  }