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 19 results for slashes
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.
Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.
Returns `true` if the path appears to be relative.
Convert Windows file paths to unix paths.
removes trailing slashes
paths that always use forward slashes
A proxy to `path`, replacing `\` with `/` for all results
Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
Express middleware for people who are anal about trailing slashes.
Remove leading slashes from a given string
Adding or removing of trailing and/or leading slashes in strings, test for their existence or join strings with slashes without duplicating them.
Express middleware that removes trailing slashes
Add or remove trailing slashes.
Koa middleware that removes trailing slashes
Checks for the presence of URL protocol without a slashes (colon-slash-slash)
Normalize paths to by adding or removing beginning and/or end slashes
Check if a string has trailing slashses easily
A function that removes all slashes from the end of a string.
Express utitlities for automatic https redirects, slash forcing, logging, error handling and Handlebars templating