normalizeSafe()
const
normalizeSafe: (p
) =>string
=upath.normalizeSafe
Exactly like path.normalize(path), but it keeps the first meaningful ./.
Note that the unix / is returned everywhere, so windows \ is always converted to unix /.
Parameters
Parameter | Type | Description |
---|---|---|
|
|
string path to normalize. |
Returns
string