lerna-get-packages
v1.0.0
Published
> Get an array of packages from a lerna monorepo.
Downloads
40
Readme
lerna-get-packages
Get an array of packages from a lerna monorepo.
install
npm install --save lerna-get-packages
usage
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.json
file for the package.