normalize-path
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.
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.
Convert Windows backslash paths to slash paths
Makes Windows-style paths more unix and URI friendly.
Escape strings for use as JavaScript string literals
Convert Windows file paths to unix paths.
parse string escapes (\n, \r, etc.)
Escape glob patterns
Convert Windows backslash paths to slash paths
Escape a string for use in AppleScript
A proxy to `path`, replacing `\` with `/` for all results
Unify paths in any texts across platforms to UNIXy (slashed dirs) format for comparison, reporting, etc.
Convert path with slash into regexp
Remove trailing path separator from string.
Switch slash and backslash in string
Finds all instances of given characters in a string and inserts an escape sequence before each one.
Removes a given escape sequence from before characters in a string. Correctly handles double-escapes by only unescaping them once.
Converts backslash-escaped strings into a Buffer
remove BACKSLASH+LF
Checks given value is backslash - support char code number, hex, unicode or string value to be given.
Convert Windows backslash paths to slash paths