Search results

338 packages found

Returns true if a filepath is a windows UNC file path.

published version 1.0.0, 8 years ago375 dependents licensed under $MIT
27,178,398

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.

published version 0.1.2, 9 years ago378 dependents licensed under $MIT
27,347,969

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.

published version 3.0.0, 7 years ago3005 dependents licensed under $MIT
275,463,378

redefine an svg path with absolute coordinates

published version 0.1.1, 11 years ago57 dependents licensed under $MIT
4,425,235

Resolves a path to an absolute path. Supports tilde

published version 1.0.1, 6 years ago11 dependents licensed under $MIT
371,293

Returns `true` if the path appears to be relative.

published version 1.0.0, 8 years ago476 dependents licensed under $MIT
26,655,765

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`.

published version 1.0.0, 8 years ago464 dependents licensed under $MIT
27,388,845

Provides a helper function to expand a path to a normalized absolute path. This function also expands dot, tilde, and tilde plus when used as the first path segment.

published version 3.0.0, 6 months ago21 dependents licensed under $MPL-2.0
260,856

A library to convert a path into an absolute path.

published version 1.3.15, 3 months ago59 dependents licensed under $MIT
151,697

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.

published version 3.0.2, 10 years ago197 dependents licensed under $MIT
1,609,959

Cross-platform file path sorting. Sort an array of path strings or objects containing path strings.

published version 1.0.0, 7 years ago6 dependents licensed under $MIT
6,894

A proxy to `path`, replacing `\` with `/` for all results

published version 3.1.20, 8 months ago78 dependents licensed under $ISC
311,407

Absolute Path

published version 1.0.6, 4 years ago10 dependents licensed under $MIT
3,284

Finds the longest common parent directory path in an array of file path strings or custom objects. Also returns sub and base parts for each path.

published version 1.0.1, 5 years ago6 dependents licensed under $MIT
3,001

A helper function to resolve a module name or path in relation to the specified context and require it.

published version 3.0.0, 5 months ago8 dependents licensed under $MPL-2.0
191,277

Node.js 0.11.x path.isAbsolute as a separate module

published version 0.0.0, 11 years ago394 dependents licensed under $MIT
1,358,170

Get the depth of a file/URL path.

published version 1.0.0, 6 years ago3 dependents licensed under $ISC
1,720

Resolve a path into an absolute path, using tilde (~) if possible

published version 3.0.0, 7 years ago2 dependents licensed under $ISC
282

import & require absolute path gulp plugin

published version 1.0.4, 6 years ago0 dependents licensed under $MIT
392

Expands any path into an absolute path

published version 1.0.2, 4 years ago5 dependents licensed under $MIT
120