docs: function stripPathElements(filePath, nelements, from) {
    if (!nelements || nelements <= 0) return filePath;
    from = from || 'start';
    filePath = filePath.replace(/\/+$/, '');
    let splitPath = split(filePath);
    if (from === 'start' && path.isAbsolute(filePath) && splitPath[0] === '/') splitPath = splitPath.slice(1);
    let start = 0;
    let end = splitPath.length;
    if (from === 'start') {
      start = nelements;
      end = splitPath.length;
    } else {
      start = 0;
      end = splitPath.length - nelements;
    }
    return join(splitPath.slice(start, end));
  }