normalize a path by reducing and removing redundant dot-slash ("./", "../", ".\", and "..\") path navigators from a path.
the returned output is always a posix-style path.
to read about the optional config parameter, refer to the docs of normalizePosixPath, which is the underlying function that takes care most of the normalization.
normalize a path by reducing and removing redundant dot-slash ("./", "../", ".\", and "..\") path navigators from a path. the returned output is always a posix-style path.
to read about the optional
config
parameter, refer to the docs of normalizePosixPath, which is the underlying function that takes care most of the normalization.Example