$ cnpm install get-monorepo-packages
get-monorepo-packagesGet a list of packages from a monorepo. Supports:
npm install --save get-monorepo-packages
import getPackages from 'get-monorepo-packages';
getPackages('/path/to/root');
Returns an array of objects containing:
location - The relative path to the package.package - The package.json file for the package.Copyright 2013 - present © cnpmjs.org | Home |