2.2.1 • Published 10 months ago

@manypkg/find-root v2.2.1

Weekly downloads
35,022
License
MIT
Repository
-
Last release
10 months ago

@manypkg/find-root

Find the root of a monorepo with Yarn workspaces, Bolt, Lerna, pnpm or Rush

Install

yarn add @manypkg/find-root

Usage

import { findRoot, findRootSync } from "@manypkg/find-root";

let dir = await findRoot(process.cwd());
let dir = findRootSync(process.cwd());