find-workspace-root
v1.0.1
Published
Find the root of a multi-package repo with Yarn workspaces
Downloads
1,153
Maintainers
Readme
find-workspace-root
Find the root of a multi-package repo with Yarn workspaces
Installation
yarn add find-workspace-root
How to use
import findWorkspaceRoot from 'find-workspace-root';
const rootDir = await findWorkspaceRoot(/** intialDir [default=process.cwd()]**/);