Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Find a file or directory by walking up parent directories
Find the root directory of a Node.js project or npm package
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
Check if a path is inside another path
Get the real path of the system temp directory
Delete files and directories
Check if a path is the current working directory
Get a random temporary file or directory path
Tests whether one path is inside another path
Check if a path is in the current working directory
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.
- async
- file path
- file system
- file
- filepath
- files
- filesystem
- folder
- fs
- fs.writeFile
- fs.writeFileSync
- path
- promise
- streams
- View more
Get the user home directory with fallback to the system temp directory
fs.rename but works across devices. same as the unix utility 'mv'
Find a file or directory by walking up parent directories — Zero dependencies
Return whether a directory is a subdirectory of another directory
Read the closest package.json file
Node JS directory compare
Copy files and folders using Rollup
Import all modules in a directory
Delete files and directories - Cross-platform