lup-root

Determines absolute path to project root and main file
v1.3.11 URL: https://unpkg.com/lup-root@1.3.11/lib/index.js
OpenBrowse Files
nodemodulerootapp-rootproject-root

find-root-kt

Tiny utility to locate the project root (Node/Bun ESM-friendly).
v1.0.7 URL: https://unpkg.com/find-root-kt@1.0.7/dist/index.cjs
OpenBrowse Files
find-rootproject-rootnodebunesmtoolingmonorepo

root-dirs

Get root folders of git, svn, mercurial, nodejs node_modules / package.json / package-lock.json, and nodejs .jscache folder
v0.0.3 URL: https://unpkg.com/root-dirs@0.0.3/index.js
OpenBrowse Files
pathpathsnpmyarnnodemodulesnode-modulespackagepackagespasckage.jsonpackage-lock.jsonbinnpmconfigrootresolveroot directoriesbinbinariesbinaryconfconfigdirnameglobalinstalledlinksnpmnpmrcprefixrcresolverootyarnfind closest directoryget closest directorybase rootrootglobal-dirsglobal dirsproject-rootproject roothelperhelpersgitsvnftpmercurialgitlabgithubbitbucketjscachenode_modulesnode modulesgit rootsvn rootmercurial rootreporepo rootrepositoryreository rootis-gitexists gitnpm rootnpm dirnpm locationget project rootfind project root

requiro

Advanced version of require for node.js
v1.8.0 URL: https://unpkg.com/requiro@1.8.0/index.js
OpenBrowse Files
requireloadingmodulesproject-rootenvironmentconfig

@neabyte/project-root

A TypeScript library for detecting project root directories by analyzing file patterns and indicators across multiple programming languages and build systems.
v1.0.0 URL: https://unpkg.com/@neabyte/project-root@1.0.0/dist/index.js
OpenBrowse Files
project-rootproject-detectionfile-patternsproject-indicatorstypescriptjavascriptnodejspackage-managerlock-filesyarnpnpmnpmgorustjavapythonphprubydartflutterswiftelixirclojurehaskelljuliacrystalluaccppzigdvscalaocamlerlangcsharpdotnetkotlinfsharpnimperlradagitmercurialsubversionbazaarfossilperforcedarcsmonotonejujutsupijulplastic-scmgithubgitlabbitbucketazure-devopsvscodewebpackviterollupbabeljesteslintcmakemakefilegradlemavencomposergempipcargopubmixleiningenstackshardluarocksbuild-systemsversion-controlci-cddevelopment-toolsbuild-toolsmonorepoworkspacepath-resolutionproject-discoveryfast-globhigh-performance