normalize-path
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.
Found 27 results for backslash
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.
Convert Windows backslash paths to slash paths
Escape strings for use as JavaScript string literals
Convert Windows file paths to unix paths.
Escape glob patterns
Escape a string for use in AppleScript
parse string escapes (\n, \r, etc.)
A proxy to `path`, replacing `\` with `/` for all results
escape regular expression characters
Convert Windows backslash paths to slash paths
Universal drop-in replacement for node:path
Convert path with slash into regexp
Convert Windows backslash paths to slash paths. This is a fork of sindresorhus/slash, but with CommonJS support.
Enhanced path slash converter with advanced features - Convert Windows backslash paths to slash paths with additional utilities
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.
Convert Windows backslash paths to slash paths
Switch slash and backslash in string
Remove trailing path separator from string.
Cross-platform path utility for consistent slash normalization and manipulation
Convert Windows backslash paths to slash paths
Removes a given escape sequence from before characters in a string. Correctly handles double-escapes by only unescaping them once.
Finds all instances of given characters in a string and inserts an escape sequence before each one.
Converts backslash-escaped strings into a Buffer
Checks whether a string path matches a posix path
CommonJS version of slash 4.0.0. See https://github.com/mifi/commonify
CommonJS version of slash 4.0.0. See https://github.com/mifi/commonify