lerna-get-packages
v1.0.0
Published
> Get an array of packages from a lerna monorepo.
Readme
lerna-get-packages
Get an array of packages from a lerna monorepo.
install
npm install --save lerna-get-packagesusage
const lernaGetPackages = require('lerna-get-packages');
const packages = lernaGetPackages(__dirname);Returns an array of objects with the properties:
location: file system path to the package.package: contents of thepackage.jsonfile for the package.
