2.2.3 • Published 11 months ago

@manypkg/find-root v2.2.3

Weekly downloads
35,022
License
MIT
Repository
github
Last release
11 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());