Search results
1990 packages found
A deep deletion module for node (like `rm -rf`)
Recursively mkdir, like `mkdir -p`
fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.
Extract the non-magic parent path from a glob string.
Make a directory and its parents if needed - Think `mkdir -p`
- mkdir
- mkdirp
- make
- directories
- folders
- directory
- folder
- path
- parent
- parents
- intermediate
- recursively
- recursive
- create
- View more
filesystem bindings for tar-stream
Find the root directory of a Node.js project or npm package
Delete files and directories
Recursively iterates over specified directory, require()'ing each file, and returning a nested hash structure containing those modules.
Check if a path is inside another path
Find a file or directory by walking up parent directories
Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`
Extract the Node.js module details like name and base path given an abosulte path to a file inside the module
Get a random temporary file or directory path
return all the parent directories for a directory
Get an array of all files in a directory and subdirectories.
Resolve the path of a module like `require.resolve()` but from the current working directory
Find package.json files in parent directories, keep finding until you find the right one using iterators.
compute the closest common parent for file paths
Finds the common standard cache directory