code: function normalize$1(path) {
                var isPathAbsolute = isAbsolute(path),
                    trailingSlash = substr(path, -1) === '/';
  
                // Normalize the path
                path = normalizeArray(filter(path.split('/'), function(p) {
                  return !!p;
                }), !isPathAbsolute).join('/');
  
                if (!path && !isPathAbsolute) {
                  path = '.';
                }
                if (path && trailingSlash) {
                  path += '/';
                }
  
                return (isPathAbsolute ? '/' : '') + path;
              }
docs: path.normalize(path) posix version