797 packages found
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`
- View more
Find the root directory of a Node.js project or npm package
Read the closest package.json file
Get a random temporary file or directory path
fs.rename but works across devices. same as the unix utility 'mv'
Zip/Tar a complete folder into a zip/tgz file
Check if a path is inside another path
Move or copy files and directories. (async, recursive, across devices, copy & delete fallback, minimalistic with 0 dependencies)
Check if a path is the current working directory
Create a JSON representation of a folder structure tree
delete folders with all child folders and files
Find the closest package.json file
Node CLI or module to calculate folder size
Move files and folders to the trash
A small collection of sync & async filesystem functions in Node.js.
Simple, flexible file copy utility
Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.
- file path
- file system
- View more