35 packages found
Find a file or directory by walking up parent directories
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Find the root directory of a Node.js project or npm package
Read the closest package.json file
Resolve a path by walking parent directories.
Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.
Find the closest package.json file
Resolve a path according to a predicate function by walking parent directories.
resolve package root and package.json paths , work on node 17 too
Find a file by walking up parent directories
Return the filename or parent directory path of a file or directory by walking up parent directories.
Find files or directories by walking up parent directories.
Find a file by walking up parent directories
Walk up the tree to resolve `tsconfig.json` configuration objects.
Find a file by walking up parent directories
Class for manipulating file system in a synchronous way with useful methods.
which the heck directions
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Find a file or directory by walking up parent directories
Find the root directory of a `git` repository