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