Search results
178 packages found
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
Filter files by the given extension.
Hierarchical filepath resolver
Check if a path is a file, directory, or symlink
Returns the depth of a file or directory, e.g. number of folders deep.
Metalsmith plugin that adds relativity path metadata to files
filepath parses UNC (long and short and cmd aliases) local filesystem path, and unix paths, checks for invalid path characters
Check for the existence of a path in a case-sensitive manner and, if not found, suggest where it might be at
Cross-platform file path sorting. Sort an array of path strings or objects containing path strings.
- sort
- sorting
- path
- paths
- file
- files
- filepath
- dir
- directory
- directories
- folder
- subdirectory
- relative
- absolute
- View more
Find directory files, and return an array
Asynchronously return an array containing the paths of all files in a directory and its subdirectories
Resolve the path of a module from the directory where npm is installed
Automatically re-write the destination extension of a filepath based on the source extension. e.g `.coffee` => `.js`. This will only rename the ext, no other path parts are modified.
Replaces a file extension with another one
Get the icon of a file or app as a PNG image (macOS)
Generate temporary filepath string (without writing to disk). Using scaleable, secure and fast cross-platform [cuid][] package
Extension of the node.js path.extname method.
Fluent filepaths, made simple.
fs.walk for node (as a port of Go's filepath.Walk)