24 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 regular expression characters
Escape strings for use as JavaScript string literals
Escape glob patterns
A proxy to `path`, replacing `\` with `/` for all results
parse string escapes (\n, \r, etc.)
Unify paths in any texts across platforms to UNIXy (slashed dirs) format for comparison, reporting, etc.
Convert Windows file paths to unix paths.
Switch slash and backslash in string
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.
Remove trailing path separator from string.
Convert Windows backslash paths to slash paths
Universal drop-in replacement for node:path
CommonJS version of slash 4.0.0. See https://github.com/mifi/commonify
Escape a string for use in AppleScript
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