root-dirs
Get root folders of git, svn, mercurial, nodejs node_modules / package.json / package-lock.json, and nodejs .jscache folder
@ayka/pathways
Project path management library. Tiny, zero-dependency, and typesafe
@neabyte/project-root
A TypeScript library for detecting project root directories by analyzing file patterns and indicators across multiple programming languages and build systems.
lup-root
Determines absolute path to project root and main file
requiro
Advanced version of require for node.js