docs: function mkdir(dir, mode) {
    if (isExist(dir)) {
      if (mode) return chmod(dir, mode);
      return true;
    }
    const pp = path.dirname(dir);
    if (isExist(pp)) {
      try {
        fs.mkdirSync(dir, mode);
        return true;
      } catch (e) {
        return false;
      }
    }
    if (mkdir(pp, mode)) return mkdir(dir, mode);
    return false;
  }