168 packages found
Get the first path that exists on disk of multiple paths
Find a file or directory by walking up parent directories
User-friendly glob matching
- View more
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.
Path finding in a graph
A powerful JSON path processor. Allows you to drill into and manipulate JSON objects with a simple dot-delimited path format e.g. "obj.name".
Find paths in objects to given key('s), value('s) or key/value combinations
Find the closest package.json file
Resolve a path according to a predicate function by walking parent directories.
Promise based path operations including read, write, find, fetch, make, clean, position, and run.
Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)
Captures a folder/file based on a path.
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Traverse object hierarchies using matching and callbacks.
Finds the longest common parent directory path in an array of file path strings or custom objects. Also returns sub and base parts for each path.
Find package.json (or another) relative to a given file