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