1963 packages found
fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.
Recursively mkdir, like `mkdir -p`
A deep deletion module for node (like `rm -rf`)
Find a file or directory by walking up parent directories
Make a directory and its parents if needed - Think `mkdir -p`
- View more
Extract the non-magic parent path from a glob string.
filesystem bindings for tar-stream
compute the closest common parent for file paths
Check if a path is inside another path
return all the parent directories for a directory
Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`
Read the closest package.json file
Get an array of all files in a directory and subdirectories.
Get a random temporary file or directory path
Extract the Node.js module details like name and base path given an abosulte path to a file inside the module
Finds the common standard cache directory
Resolve the path of a module like `require.resolve()` but from the current working directory
Delete files and directories
Find the root directory of a Node.js project or npm package