Search results
25 packages found
Convert Windows backslash paths to slash paths
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.
- absolute
- backslash
- delimiter
- file
- file-path
- filepath
- fix
- forward
- fp
- fs
- normalize
- path
- relative
- separator
- View more
Convert Windows file paths to unix paths.
Universal drop-in replacement for node:path
Escape strings for use as JavaScript string literals
Checks whether a string path matches a posix path
A proxy to `path`, replacing `\` with `/` for all results
Escape glob patterns
Convert Windows backslash paths to slash paths
Escape a string for use in AppleScript
Remove trailing path separator from string.
Unify paths in any texts across platforms to UNIXy (slashed dirs) format for comparison, reporting, etc.
Checks given value is backslash - support char code number, hex, unicode or string value to be given.
Switch slash and backslash in string
Converts backslash-escaped strings into a Buffer
Convert Windows backslash paths to slash paths. This is a fork of sindresorhus/slash, but with CommonJS support.
parse string escapes (\n, \r, etc.)
Convert Windows backslash paths to slash paths
CommonJS version of slash 4.0.0. See https://github.com/mifi/commonify
escape regular expression characters