1.3.0 • Published 9 months ago
get-monorepo-packages v1.3.0
get-monorepo-packages
Get a list of packages from a monorepo. Supports:
Install
npm install --save get-monorepo-packagesUsage
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.jsonfile for the package.