Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Check if a path is inside another path
Check if a path exists
Get the first path that exists on disk of multiple paths
Check if a path is a file, directory, or symlink
Check if a file path is a binary file
Return true if a file path contains the given path.
Get the path of the caller function
Convert a file: URI to a file path
Check if a path is the current working directory
Get the path of the parent module
Check if a file path is a text file
Check if a path is in the current working directory
Returns true if a filepath is a windows UNC file path.
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.
Get a random temporary file or directory path
Returns true if a windows file path has invalid characters.
Computes the longest prefix string that is common to each path, excluding the base component
Returns `true` if the path appears to be relative.
Resolve a path by walking parent directories.
Get a random temporary file path