Search results
19 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
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
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`.
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.
Add or remove trailing slashes.
Express middleware that removes trailing slashes
Checks for the presence of URL protocol without a slashes (colon-slash-slash)
Check if a string has trailing slashses easily
Normalize paths to by adding or removing beginning and/or end slashes
Express utitlities for automatic https redirects, slash forcing, logging, error handling and Handlebars templating
A function that removes all slashes from the end of a string.
Koa middleware that removes trailing slashes