Search results
26 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
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 strings for use as JavaScript string literals
Convert Windows file paths to unix paths.
Escape a string for use in AppleScript
Escape glob patterns
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.
Cross-platform path utility for consistent slash normalization and manipulation
- slash
- backslash
- path
- normalize
- crossplatform
- windows
- utility
- nodejs
- js
- file
- join
- relative
- trailing
- absolute
- View more
Removes a given escape sequence from before characters in a string. Correctly handles double-escapes by only unescaping them once.
Remove trailing path separator from string.
Convert Windows backslash paths to slash paths
Switch slash and backslash in string
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.