@visulima/package

A comprehensive package management utility that helps you find root directories, monorepos, package managers, and parse package.json, package.yaml, and package.json5 files with advanced features like catalog resolution.

common-roots

find root directories (containing .git or other)

find-dominant-file

Return the filename or parent directory path of a file or directory by walking up parent directories.