Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
jonschlinkertalmost 2 years agoDetects if a file exists and returns the resolved filepath.
doowbover 2 years agoRemove leading directory components from a path, like tar's --strip-components option
shinnnover 2 years ago