fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.
Delete files and directories
Find a file or directory by walking up parent directories
Make a directory and its parents if needed - Think `mkdir -p`
Read the closest package.json file
Find the root directory of a Node.js project or npm package
Finds the common standard cache directory
Extract the non-magic parent path from a glob string.
Virtual file format.
Check if a path is a file, directory, or symlink
The directory used by npm for globally installed npm modules.
Resolve the path of a module like `require.resolve()` but from the current working directory
Find the closest package.json file
Get XDG Base Directory paths
Check if a path is inside another path
Tests whether one path is inside another path
Convert directories to glob compatible strings
Import a module like with `require()` but from the current working directory
Resolve a directory that is either local, global or in the user's home directory.
Get the directory of globally installed packages and binaries
powered by npms.io 🚀