Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Find a file or directory by walking up parent directories
Extract the non-magic parent path from a glob string.
Make a directory and its parents if needed - Think `mkdir -p`
- mkdir
- mkdirp
- make
- directories
- folders
- directory
- folder
- path
- parent
- parents
- intermediate
- recursively
- recursive
- create
- View more
Find the root directory of a Node.js project or npm package
A tiny (183B to 210B) and fast utility to ascend parent directories
Get the path of the parent module
compute the closest common parent for file paths
unist utility to recursively walk over nodes, with ancestral information
Get the path of the caller function
Get the callsite of the caller function
Find a file or directory by walking up parent directories — Zero dependencies
Returns an object with the (non-glob) base path and the actual pattern.
Read the closest package.json file
Find package.json files in parent directories, keep finding until you find the right one using iterators.
return all the parent directories for a directory
Utilities for finding the closest package.json file
Finds the first parent directory that contains a given file or directory.
Resolve a path by walking parent directories.
Returns an array containing the initial elements which both input arrays have in common
resolve package root and package.json paths , work on node 17 too