Search results
3271 packages found
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
Find the root directory of a Node.js project or npm package
Find a file or directory by walking up parent directories
Find the path of the first file matching a given name, walking the filesystem upwards.
Get the real path of the system temp directory
ESLint rules for consistent filename and folder. Allows you to enforce a consistent naming pattern for the filename and folder
Get a random temporary file or directory path
Check if a path is the current working directory
Find a file or directory by walking up parent directories — Zero dependencies
Collapse paths that are part of another path.
Check to see if a directory exists
Read the closest package.json file
Easily find files in chosen directories in your project
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
Locate files or folders in the directory where Node was started
To get paths of all the files and folder under the given target path asynchronously
Tests whether one path is inside another path
Check if a path is in the current working directory
Locate files or folders in the directory where Node was started