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 folders
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`
Virtual file format.
Extract the non-magic parent path from a glob string.
Read the closest package.json file
Check if a path is a file, directory, or symlink
Find the root directory of a Node.js project or npm package
The directory used by npm for globally installed npm modules.
Tests whether one path is inside another path
Convert directories to glob compatible strings
Check if a path is inside another path
Resolve the path of a module like `require.resolve()` but from the current working directory
Get XDG Base Directory paths
Find the closest package.json file
Pack a directory into an npm package tarball
Import a module like with `require()` but from the current working directory
Recursively mkdir, like `mkdir -p`
powered by npms.io 🚀