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.
Escape strings for use as JavaScript string literals
Checks whether a string path matches a posix path
Universal drop-in replacement for node:path
Convert Windows backslash paths to slash paths
Escape a string for use in AppleScript
A proxy to `path`, replacing `\` with `/` for all results
Escape glob patterns
Remove trailing path separator from string.
Convert Windows backslash paths to slash paths. This is a fork of sindresorhus/slash, but with CommonJS support.
Convert Windows backslash paths to slash paths
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.
Converts backslash-escaped strings into a Buffer
Switch slash and backslash in string
parse string escapes (\n, \r, etc.)
escape regular expression characters
CommonJS version of slash 4.0.0. See https://github.com/mifi/commonify