directory packages
Packages tagged with "directory".
11 packages
A tiny (183B to 210B) and fast utility to ascend parent directories
Find a file or directory by walking up parent directories
Find the root directory of a Node.js project or npm package
Extract the non-magic parent path from a glob string.
Resolve the path of a module like `require.resolve()` but from the current working directory
The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Make a directory and its parents if needed - Think `mkdir -p`
Get paths for storing things like data, config, cache, etc
A platform independent file lock.
Find a file or directory by walking up parent directories — Zero dependencies