{"_id":"@manypkg/find-root","_rev":"4181530","name":"@manypkg/find-root","description":"> Find the root of a monorepo with Yarn workspaces, npm, Lerna, pnpm, Bun or Rush","dist-tags":{"latest":"3.1.0"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"emmatown","email":""}],"time":{"modified":"2026-03-01T21:51:56.000Z","created":"2020-03-07T08:47:07.553Z","3.1.0":"2025-07-25T03:48:36.669Z","3.0.0":"2025-05-01T10:40:14.799Z","2.2.3":"2024-08-10T08:19:31.397Z","2.2.2":"2024-06-27T07:57:49.825Z","2.2.1":"2023-06-27T07:30:53.610Z","2.2.0":"2023-06-09T12:39:59.307Z","2.1.0":"2023-01-31T08:55:37.664Z","2.0.0":"2023-01-23T23:16:42.281Z","1.1.0":"2020-06-25T11:47:55.181Z","1.0.0":"2020-03-07T08:47:07.553Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/Thinkmill/manypkg.git","directory":"packages/find-root"},"versions":{"3.1.0":{"name":"@manypkg/find-root","version":"3.1.0","repository":{"type":"git","url":"git+https://github.com/Thinkmill/manypkg.git","directory":"packages/find-root"},"license":"MIT","type":"module","exports":{".":"./dist/manypkg-find-root.js","./package.json":"./package.json"},"dependencies":{"@manypkg/tools":"^2.1.0"},"devDependencies":{"@types/node":"^22.15.3","fixturez":"^1.1.0","vitest":"^3.1.2"},"engines":{"node":">=20.0.0"},"_id":"@manypkg/find-root@3.1.0","gitHead":"fc5d5e0be9496841f4e528532697e741c86a5ed5","description":"> Find the root of a monorepo with Yarn workspaces, npm, Lerna, pnpm, Bun or Rush","bugs":{"url":"https://github.com/Thinkmill/manypkg/issues"},"homepage":"https://github.com/Thinkmill/manypkg#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"dde5798a08fb2d0e05ee8ba3b745134532cc7b74","size":5314,"noattachment":false,"key":"/@manypkg/find-root/-/@manypkg/find-root-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@manypkg/find-root/download/@manypkg/find-root-3.1.0.tgz"},"_npmUser":{"name":"manypkg-release-bot","email":"automation+manypkg@thinkmill.com.au"},"directories":{},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"emmatown","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/find-root_3.1.0_1753415316436_0.3992337642180177"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-07-25T03:48:36.669Z","publish_time":1753415316669,"_source_registry_name":"default","_cnpm_publish_time":1753415316669},"3.0.0":{"name":"@manypkg/find-root","version":"3.0.0","repository":{"type":"git","url":"git+https://github.com/Thinkmill/manypkg.git","directory":"packages/find-root"},"license":"MIT","type":"module","exports":{".":"./dist/manypkg-find-root.js","./package.json":"./package.json"},"dependencies":{"@manypkg/tools":"^2.0.0"},"devDependencies":{"@types/node":"^22.15.3","fixturez":"^1.1.0","vitest":"^3.1.2"},"engines":{"node":">=20.0.0"},"_id":"@manypkg/find-root@3.0.0","gitHead":"734a9a8c52243e4e10a851b8dedf1016977a3b5e","description":"> Find the root of a monorepo with Yarn workspaces, npm, Lerna, pnpm or Rush","bugs":{"url":"https://github.com/Thinkmill/manypkg/issues"},"homepage":"https://github.com/Thinkmill/manypkg#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"8c1106ca83aa6c5b425778b983a8eea571735a60","size":5121,"noattachment":false,"key":"/@manypkg/find-root/-/@manypkg/find-root-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@manypkg/find-root/download/@manypkg/find-root-3.0.0.tgz"},"_npmUser":{"name":"manypkg-release-bot","email":"automation+manypkg@thinkmill.com.au"},"directories":{},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"emmatown","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/find-root_3.0.0_1746096014616_0.7104328126950821"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-01T10:40:14.799Z","publish_time":1746096014799,"_source_registry_name":"default","_cnpm_publish_time":1746096014799},"2.2.3":{"name":"@manypkg/find-root","version":"2.2.3","repository":{"type":"git","url":"git+https://github.com/Thinkmill/manypkg.git","directory":"packages/find-root"},"license":"MIT","main":"dist/manypkg-find-root.cjs.js","module":"dist/manypkg-find-root.esm.js","dependencies":{"@manypkg/tools":"^1.1.2"},"devDependencies":{"@types/node":"^16.11.7","fixturez":"^1.1.0"},"engines":{"node":">=14.18.0"},"types":"./dist/manypkg-find-root.cjs.d.ts","gitHead":"045f7d7dabfa8a25b9d160661184a35eb4b5eaa7","description":"> Find the root of a monorepo with Yarn workspaces, Bolt, Lerna, pnpm or Rush","bugs":{"url":"https://github.com/Thinkmill/manypkg/issues"},"homepage":"https://github.com/Thinkmill/manypkg#readme","_id":"@manypkg/find-root@2.2.3","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"3e9be5dff4a008c228649a34e2af65288ff13c26","size":4898,"noattachment":false,"key":"/@manypkg/find-root/-/@manypkg/find-root-2.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@manypkg/find-root/download/@manypkg/find-root-2.2.3.tgz"},"_npmUser":{"name":"manypkg-release-bot","email":"automation+manypkg@thinkmill.com.au"},"directories":{},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"emmatown","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root_2.2.3_1723277971199_0.3715194336972927"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-10T08:19:31.397Z","publish_time":1723277971397,"_source_registry_name":"default","_cnpm_publish_time":1723277971397},"2.2.2":{"name":"@manypkg/find-root","version":"2.2.2","repository":{"type":"git","url":"git+https://github.com/Thinkmill/manypkg.git","directory":"packages/find-root"},"license":"MIT","main":"dist/manypkg-find-root.cjs.js","module":"dist/manypkg-find-root.esm.js","dependencies":{"@manypkg/tools":"^1.1.1","find-up":"^4.1.0","fs-extra":"^8.1.0"},"devDependencies":{"@types/node":"^16.11.7","fixturez":"^1.1.0"},"engines":{"node":">=14.18.0"},"types":"./dist/manypkg-find-root.cjs.d.ts","gitHead":"aec50960fbc3692dd0fb65ddb700a4adbdc92522","description":"> Find the root of a monorepo with Yarn workspaces, Bolt, Lerna, pnpm or Rush","bugs":{"url":"https://github.com/Thinkmill/manypkg/issues"},"homepage":"https://github.com/Thinkmill/manypkg#readme","_id":"@manypkg/find-root@2.2.2","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"608a3ced3d4cb3fb5efaf06bbcf28fba6838f5df","size":4620,"noattachment":false,"key":"/@manypkg/find-root/-/@manypkg/find-root-2.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@manypkg/find-root/download/@manypkg/find-root-2.2.2.tgz"},"_npmUser":{"name":"manypkg-release-bot","email":"automation+manypkg@thinkmill.com.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root_2.2.2_1719475069670_0.5612273348208738"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-27T07:57:49.825Z","publish_time":1719475069825,"_source_registry_name":"default","maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"emmatown","email":""}],"_cnpm_publish_time":1719475069825},"2.2.1":{"name":"@manypkg/find-root","version":"2.2.1","license":"MIT","main":"dist/manypkg-find-root.cjs.js","module":"dist/manypkg-find-root.esm.js","dependencies":{"@manypkg/tools":"^1.1.0","find-up":"^4.1.0","fs-extra":"^8.1.0"},"devDependencies":{"@types/node":"^16.11.7","fixturez":"^1.1.0"},"engines":{"node":">=14.18.0"},"types":"./dist/manypkg-find-root.cjs.d.ts","gitHead":"dc2ad79a0c4e1596bfa8946c4427d5702988109d","description":"> Find the root of a monorepo with Yarn workspaces, Bolt, Lerna, pnpm or Rush","_id":"@manypkg/find-root@2.2.1","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"shasum":"a7cffffdb06407967daa31f89952ebef108b27cf","size":4494,"noattachment":false,"key":"/@manypkg/find-root/-/@manypkg/find-root-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@manypkg/find-root/download/@manypkg/find-root-2.2.1.tgz"},"_npmUser":{"name":"manypkg-release-bot","email":"automation+manypkg@thinkmill.com.au"},"directories":{},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"emmatown","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root_2.2.1_1687851053342_0.6130970385254466"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-27T07:30:53.610Z","publish_time":1687851053610,"_source_registry_name":"default","_cnpm_publish_time":1687851053610},"2.2.0":{"name":"@manypkg/find-root","version":"2.2.0","license":"MIT","main":"dist/manypkg-find-root.cjs.js","module":"dist/manypkg-find-root.esm.js","dependencies":{"@manypkg/tools":"^1.1.0","@types/node":"^12.7.1","find-up":"^4.1.0","fs-extra":"^8.1.0"},"devDependencies":{"fixturez":"^1.1.0"},"engines":{"node":">=14.18.0"},"types":"./dist/manypkg-find-root.cjs.d.ts","gitHead":"44285d8a2a98504f5b51b97d2a740ae662240380","description":"> Find the root of a monorepo with Yarn workspaces, Bolt, Lerna, pnpm or Rush","_id":"@manypkg/find-root@2.2.0","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"shasum":"b30a0bf1bdeac64b0e3f612b3c33587730a60927","size":4398,"noattachment":false,"key":"/@manypkg/find-root/-/@manypkg/find-root-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@manypkg/find-root/download/@manypkg/find-root-2.2.0.tgz"},"_npmUser":{"name":"manypkg-release-bot","email":"automation+manypkg@thinkmill.com.au"},"directories":{},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"emmatown","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root_2.2.0_1686314399140_0.49188971909070434"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-09T12:39:59.307Z","publish_time":1686314399307,"_source_registry_name":"default","_cnpm_publish_time":1686314399307},"2.1.0":{"name":"@manypkg/find-root","version":"2.1.0","license":"MIT","main":"dist/manypkg-find-root.cjs.js","module":"dist/manypkg-find-root.esm.js","dependencies":{"@manypkg/tools":"^1.0.0","@types/node":"^12.7.1","find-up":"^4.1.0","fs-extra":"^8.1.0"},"devDependencies":{"fixturez":"^1.1.0"},"engines":{"node":">=14.18.0"},"types":"./dist/manypkg-find-root.cjs.d.ts","gitHead":"6718c20d181d28efc05b3fce32223a44acf2405e","description":"> Find the root of a monorepo with Yarn workspaces, Lerna, pnpm or Rush","_id":"@manypkg/find-root@2.1.0","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"shasum":"555072fde526f3986e5a02200440f7f7746ed6ce","size":4281,"noattachment":false,"key":"/@manypkg/find-root/-/@manypkg/find-root-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@manypkg/find-root/download/@manypkg/find-root-2.1.0.tgz"},"_npmUser":{"name":"manypkg-release-bot","email":"automation+manypkg@thinkmill.com.au"},"directories":{},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"emmatown","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root_2.1.0_1675155337502_0.26356457362578767"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-31T08:55:37.664Z","publish_time":1675155337664,"_cnpm_publish_time":1675155337664},"2.0.0":{"name":"@manypkg/find-root","version":"2.0.0","license":"MIT","main":"dist/manypkg-find-root.cjs.js","module":"dist/manypkg-find-root.esm.js","dependencies":{"@manypkg/tools":"^1.0.0","@types/node":"^12.7.1","find-up":"^4.1.0","fs-extra":"^8.1.0"},"devDependencies":{"fixturez":"^1.1.0"},"engines":{"node":">=14.18.0"},"types":"./dist/manypkg-find-root.cjs.d.ts","gitHead":"1bff0a2b58644ddae9f420288b00b98df0988519","description":"> Find the root of a monorepo with Yarn workspaces, Lerna, pnpm or Rush","_id":"@manypkg/find-root@2.0.0","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"shasum":"fa83a07990cff17b7269bbf7985dfa61583aa9e4","size":3555,"noattachment":false,"key":"/@manypkg/find-root/-/@manypkg/find-root-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@manypkg/find-root/download/@manypkg/find-root-2.0.0.tgz"},"_npmUser":{"name":"manypkg-release-bot","email":"automation+manypkg@thinkmill.com.au"},"directories":{},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"emmatown","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root_2.0.0_1674515802105_0.05597776579704061"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-23T23:16:42.281Z","publish_time":1674515802281,"_cnpm_publish_time":1674515802281},"1.1.0":{"name":"@manypkg/find-root","version":"1.1.0","main":"dist/find-root.cjs.js","module":"dist/find-root.esm.js","license":"MIT","dependencies":{"@babel/runtime":"^7.5.5","@types/node":"^12.7.1","find-up":"^4.1.0","fs-extra":"^8.1.0"},"devDependencies":{"fixturez":"^1.1.0"},"description":"> Find the root of a monorepo with Yarn workspaces, Bolt or pnpm","_id":"@manypkg/find-root@1.1.0","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"shasum":"a62d8ed1cd7e7d4c11d9d52a8397460b5d4ad29f","size":4599,"noattachment":false,"key":"/@manypkg/find-root/-/@manypkg/find-root-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@manypkg/find-root/download/@manypkg/find-root-1.1.0.tgz"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"emmatown","email":""}],"_npmUser":{"name":"manypkg-release-bot","email":"automation+manypkg@thinkmill.com.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root_1.1.0_1593085674987_0.8096380895564965"},"_hasShrinkwrap":false,"publish_time":1593085675181,"_cnpm_publish_time":1593085675181},"1.0.0":{"name":"@manypkg/find-root","version":"1.0.0","main":"dist/find-root.cjs.js","module":"dist/find-root.esm.js","license":"MIT","dependencies":{"@babel/runtime":"^7.5.5","@types/node":"^12.7.1","find-up":"^4.1.0","fs-extra":"^8.1.0"},"devDependencies":{"fixturez":"^1.1.0"},"description":"> Find the root of a monorepo with Yarn workspaces, Bolt or pnpm","_id":"@manypkg/find-root@1.0.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"shasum":"b8e96d7c24678b1b65c2057ae47df750669197d7","size":3936,"noattachment":false,"key":"/@manypkg/find-root/-/@manypkg/find-root-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@manypkg/find-root/download/@manypkg/find-root-1.0.0.tgz"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"emmatown","email":""}],"_npmUser":{"name":"manypkg-release-bot","email":"automation+manypkg@thinkmill.com.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-root_1.0.0_1583570827410_0.5218280974378962"},"_hasShrinkwrap":false,"publish_time":1583570827553,"_cnpm_publish_time":1583570827553}},"readme":"# @manypkg/find-root\n\n> Find the root of a monorepo with Yarn workspaces, npm, Lerna, pnpm, Bun or Rush\n\n## Install\n\n```bash\nyarn add @manypkg/find-root\n```\n\n## Usage\n\n```tsx\nimport { findRoot, findRootSync } from \"@manypkg/find-root\";\n\nlet dir = await findRoot(process.cwd());\nlet dir = findRootSync(process.cwd());\n```\n","_attachments":{},"homepage":"https://github.com/Thinkmill/manypkg#readme","bugs":{"url":"https://github.com/Thinkmill/manypkg/issues"},"license":"MIT"}