code: function formatAsElegantPath(path, sep) {
      const packages = path.split(sep);
  
      // prettier-ignore
      const result = packages.map(item => item.trim()).join(' -> ');
      return result;
  }
docs: format input path
  @param {string} path
  @param {string} sep - path separator
  @returns {string} - returns input path as dir1 -> dir2 -> ... -> dirN -> file