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.
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 the path appears to be relative.
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`.
paths that always use forward slashes
Convert Windows file paths to unix paths.
removes trailing slashes
Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
A proxy to `path`, replacing `\` with `/` for all results
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.
Add or remove trailing slashes.
Express middleware that removes trailing slashes
Normalize paths to by adding or removing beginning and/or end slashes
Checks for the presence of URL protocol without a slashes (colon-slash-slash)
A function that removes all slashes from the end of a string.
Connect/Express middleware that removes trailing slashes from URLs
Express utitlities for automatic https redirects, slash forcing, logging, error handling and Handlebars templating
Check if a string has trailing slashses easily
Koa middleware that removes trailing slashes