JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2059829
  • Score
    100M100P100Q213711F
  • License MIT

Package Exports

  • @manypkg/find-root
  • @manypkg/find-root/package.json

Readme

@manypkg/find-root

Find the root of a monorepo with Yarn workspaces, npm, Lerna, pnpm, Bun 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());