get-monorepo-packages
v1.2.0
Published
Get a list of packages from a monorepo
Downloads
608,871
Readme
get-monorepo-packages
Get a list of packages from a monorepo. Supports:
Install
npm install --save get-monorepo-packages
Usage
import getPackages from 'get-monorepo-packages';
getPackages('/path/to/root');
Returns an array of objects containing:
location
- The relative path to the package.package
- Thepackage.json
file for the package.