19 lines
304 B
Plaintext
19 lines
304 B
Plaintext
# @manypkg/find-root
|
|
|
|
> Find the root of a monorepo with Yarn workspaces, Bolt or pnpm
|
|
|
|
## 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());
|
|
```
|