Search results
339 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
Minify URLs by converting them from absolute to relative.
Pollyfill for node.js `path.parse`, parses a filepath into an object.
- absolute
- basename
- dir
- directory
- dirname
- ext
- extension
- extname
- file
- filename
- filepath
- is-absolute
- name
- object
- View more
Returns `true` if the path appears to be relative.
Check if a URL is absolute
Returns true if a filepath is a windows UNC file path.
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`.
Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
fs.readdir with sync, async, and streaming APIs + filtering, recursion, absolute paths, etc.
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
redefine an svg path with absolute coordinates
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file, and directory-to-directory.
Build an absolute URL from a base URL and a relative URL (RFC 1808). No dependencies!
Check if a URL is relative
Node.js 0.11.x path.isAbsolute as a separate module
Compute the absolute value of a double-precision floating-point number.
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
A proxy to `path`, replacing `\` with `/` for all results
Resolves a path to an absolute path. Supports tilde