find-workspace-root
Find the root of a multi-package repo with Yarn workspaces
Last updated 4 years ago by hupe1980 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install find-workspace-root 
SYNC missed versions from official npm registry.

find-workspace-root

Build Status

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()]**/);

License

MIT

Current Tags

  • 1.0.1                                ...           latest (4 years ago)

3 Versions

  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           5 years ago
  • 0.0.11                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (11)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |