Find a file or directory by walking up parent directories
Check if a path is a file, directory, or symlink
Get the first path that exists on disk of multiple paths
Check if a path exists
Process execution for humans
Find the root directory of a Node.js project or npm package
Read a package.json file
fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.
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.
Read and parse a JSON file
A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.
Matches strings against configurable strings, globs, regular expressions, and/or functions
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