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