UNPKG

@manypkg/find-root

Version:

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

19 lines (12 loc) 317 B
# @manypkg/find-root > Find the root of a monorepo with Yarn workspaces, Bolt, Lerna, pnpm or Rush ## Install ```bash yarn add @manypkg/find-root ``` ## Usage ```tsx import { findRoot, findRootSync } from "@manypkg/find-root"; let dir = await findRoot(process.cwd()); let dir = findRootSync(process.cwd()); ```