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.
Convert Windows backslash paths to slash paths
Makes Windows-style paths more unix and URI friendly.
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`.
Transform into a lower case string with slashes between words
Convert Windows file paths to unix paths.
Prefix an object (key/values) of globs with a slash and normalize. Supports negated globs too. Glob version of slasher module
Mutate keys and values in objects. Returns a new version of the object
Convert a file path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Trailing slash redirect middleware for Connect and Express.js
Adds a backslash before single quotes in a string (or whichever characters you like)
Convert Windows backslash paths to slash paths
Forces trailing slashes in the PWA router for all statically generated pages
Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
An icon manager to visually disable icons
A proxy to `path`, replacing `\` with `/` for all results
Prefix a path with leading slash
Express middleware for people who are anal about trailing slashes.
Convert gulp file paths using slash.