Search results

1000+ packages found

Find a file or directory by walking up parent directories

published version 7.0.0, a year ago5390 dependents licensed under $MIT
661,378,419

A deep deletion module for node (like `rm -rf`)

published version 6.0.1, 9 months ago23002 dependents licensed under $ISC
427,801,295

Extract the non-magic parent path from a glob string.

published version 6.0.2, 4 years ago2677 dependents licensed under $ISC
530,105,079

fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.

published version 11.3.0, 3 months ago72083 dependents licensed under $MIT
475,775,920

Recursively mkdir, like `mkdir -p`

published version 3.0.1, 2 years ago24380 dependents licensed under $MIT
389,684,856

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

published version 5.0.0, a year ago2789 dependents licensed under $MIT
341,717,184

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

published version 8.0.0, a year ago3289 dependents licensed under $MIT
277,209,456

Check if a path is a file, directory, or symlink

published version 6.0.0, 9 months ago1830 dependents licensed under $MIT
274,049,662

A tiny (183B to 210B) and fast utility to ascend parent directories

published version 3.2.0, 8 months ago2172 dependents licensed under $MIT
269,060,243

Recursively iterates over specified directory, require()'ing each file, and returning a nested hash structure containing those modules.

published version 2.1.1, 10 years ago2321 dependents licensed under $MIT
215,198,830

Check if a path is inside another path

published version 4.0.0, 4 years ago1401 dependents licensed under $MIT
176,442,397

Convert directories to glob compatible strings

published version 3.0.1, 6 years ago1515 dependents licensed under $MIT
172,157,281

Get paths for storing things like data, config, cache, etc

published version 3.0.0, 4 years ago1039 dependents licensed under $MIT
96,296,462

Resolve the path of a module like `require.resolve()` but from the current working directory

published version 3.0.0, 6 years ago1669 dependents licensed under $MIT
130,091,770

compute the closest common parent for file paths

published version 1.0.1, 10 years ago1367 dependents licensed under $MIT
98,333,262

filesystem bindings for tar-stream

published version 3.0.8, 3 months ago1174 dependents licensed under $MIT
92,679,606

The directory used by npm for globally installed npm modules.

published version 2.0.0, 6 years ago862 dependents licensed under $MIT
80,919,578

Get the real path of the system temp directory

published version 3.0.0, 3 years ago686 dependents licensed under $MIT
58,362,404

The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s

published version 6.4.4, 2 days ago182 dependents licensed under $MIT
57,174,108

Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`

published version 5.0.0, 2 years ago887 dependents licensed under $MIT
54,617,578