@manypkg/find-root
v2.2.3
Published
> Find the root of a monorepo with Yarn workspaces, Bolt, Lerna, pnpm or Rush
Downloads
6,244,766
Readme
@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());