code: function formatAsElegantPath(path, sep) {
      const chalk = require('chalk');
      const packages = path.split(sep);
      const lastIndex = packages.length - 1;
  
      // prettier-ignore
      const result = packages
          .map((item) => item.trim())
          .map((item, index) => {
              return index === lastIndex
                  ? chalk.red.bold(item)
                  : item;
          })
          .join(' -> ');
      return result;
  }
docs: format input path
  @param {string} path
  @param {string} sep - path separator