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