@typescript-tools/monorepo-root

Find the monorepo root directory

Usage no npm install needed!

<script type="module">
  import typescriptToolsMonorepoRoot from 'https://cdn.skypack.dev/@typescript-tools/monorepo-root';
</script>

README

monorepo-root

License NPM Package Build Status semantic-release

Find the monorepo root directory

Install

npm install @typescript-tools/monorepo-root

API

export function monorepoRoot(
  pathInsideMonorepo?: string,
): E.Either<MonorepoRootError, string>