Search results

1000+ packages found

Find a file or directory by walking up parent directories

published version 7.0.0, a year ago5198 dependents licensed under $MIT
612,759,320

Find the root directory of a Node.js project or npm package

published version 8.0.0, a year ago3193 dependents licensed under $MIT
268,084,057

Make a directory and its parents if needed - Think `mkdir -p`

published version 5.0.0, 7 months ago2740 dependents licensed under $MIT
353,710,387

Check if a path is inside another path

published version 4.0.0, 4 years ago1366 dependents licensed under $MIT
178,211,532

Get the real path of the system temp directory

published version 3.0.0, 2 years ago676 dependents licensed under $MIT
57,697,341

Delete files and directories

published version 8.0.0, 2 months ago5777 dependents licensed under $MIT
62,523,375

Check if a path is the current working directory

published version 3.0.0, 3 years ago657 dependents licensed under $MIT
55,220,069

Get a random temporary file or directory path

published version 3.1.0, a year ago1004 dependents licensed under $MIT
45,443,056

Tests whether one path is inside another path

published version 1.0.2, 8 years ago453 dependents licensed under $(WTFPL OR MIT)
43,571,595

Check if a path is in the current working directory

published version 4.0.0, 4 years ago206 dependents licensed under $MIT
27,624,043

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.

published version 2.0.0, 5 years ago564 dependents licensed under $MIT
25,852,716

Get the user home directory with fallback to the system temp directory

published version 4.0.0, 4 years ago251 dependents licensed under $MIT
14,025,189

fs.rename but works across devices. same as the unix utility 'mv'

published version 2.1.1, 9 years ago540 dependents licensed under $MIT
11,058,066

Find a file or directory by walking up parent directories — Zero dependencies

published version 1.0.0, a year ago28 dependents licensed under $MIT
9,358,682

Return whether a directory is a subdirectory of another directory

published version 1.2.0, 4 years ago40 dependents licensed under $MIT
6,437,807

Read the closest package.json file

published version 11.0.0, a year ago103 dependents licensed under $MIT
3,731,761

Node JS directory compare

published version 5.0.0, 7 months ago114 dependents licensed under $MIT
2,571,336

Copy files and folders using Rollup

published version 3.5.0, a year ago568 dependents licensed under $MIT
2,205,259

Import all modules in a directory

published version 3.2.0, 2 years ago34 dependents licensed under $MIT
1,816,864

Delete files and directories - Cross-platform

published version 6.0.0, 2 months ago560 dependents licensed under $MIT
1,518,673