Search results

1000+ packages found

Check if a path is inside another path

published version 4.0.0, 4 years ago1379 dependents licensed under $MIT
128,277,155

Check if a path exists

published version 5.0.0, 3 years ago4758 dependents licensed under $MIT
309,708,899

Get the first path that exists on disk of multiple paths

published version 7.2.0, 2 years ago2397 dependents licensed under $MIT
438,708,186

Check if a path is a file, directory, or symlink

published version 6.0.0, 6 months ago1805 dependents licensed under $MIT
204,399,985

Check if a file path is a binary file

published version 3.0.0, 9 months ago1591 dependents licensed under $MIT
147,163,343

Return true if a file path contains the given path.

published version 1.0.0, 8 years ago146 dependents licensed under $MIT
5,624,377

Get the path of the caller function

published version 4.0.0, 3 years ago632 dependents licensed under $MIT
22,402,243

Convert a file: URI to a file path

published version 2.0.0, 5 years ago422 dependents licensed under $MIT
41,764,229

Check if a path is the current working directory

published version 3.0.0, 3 years ago662 dependents licensed under $MIT
38,425,477

Get the path of the parent module

published version 3.1.0, a year ago1719 dependents licensed under $MIT
141,496,857

Check if a file path is a text file

published version 3.0.0, 9 months ago506 dependents licensed under $MIT
20,451,326

Check if a path is in the current working directory

published version 4.0.0, 4 years ago207 dependents licensed under $MIT
18,254,139

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

published version 1.0.0, 8 years ago363 dependents licensed under $MIT
21,034,415

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 ago366 dependents licensed under $MIT
20,731,882

Get a random temporary file or directory path

published version 3.1.0, 2 years ago1013 dependents licensed under $MIT
35,164,819

Returns true if a windows file path has invalid characters.

published version 1.0.2, 7 years ago43 dependents licensed under $MIT
6,161,303

Computes the longest prefix string that is common to each path, excluding the base component

published version 3.0.0, 5 years ago189 dependents licensed under $ISC
29,532,343

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

published version 1.0.0, 8 years ago464 dependents licensed under $MIT
20,999,691

Resolve a path by walking parent directories.

published version 0.2.2, 6 months ago3 dependents licensed under $Apache-2.0
1,439,259

Get a random temporary file path

published version 5.0.0, 2 years ago287 dependents licensed under $MIT
5,010,639