Find a file or directory by walking up parent directories
Get the first path that exists on disk of multiple paths
Check if a path exists
Check if a path is a file, directory, or symlink
Process execution for humans
Find the root directory of a Node.js project or npm package
fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.
Read a package.json file
Read the closest package.json file
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.
A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.
Matches strings against configurable strings, globs, regular expressions, and/or functions
Read and parse a JSON file
Get callsites from the V8 stack trace API
List of binary file extensions
Check if a file path is a binary file
Easily read/write JSON files.
Node.js 0.12 path.isAbsolute() ponyfill
Check if a path is inside another path