Search results
181 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
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.
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`
A wrapper around the path module that always normalizes to POSIX (including converting backslashes to 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.
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
Convert into a lower case text with slashes between words
Express middleware for people who are anal about trailing slashes.
A lightweight, fully customizable, Markdown editor
This plugin adds support for code blocks **syntax highlighting**. It uses the same highlighter from the core package(Shiki).
A wrapper around the path module that always normalizes to POSIX (including converting backslashes to forward slashes)