1.0.0 • Published 6 years ago

lerna-get-packages v1.0.0

Weekly downloads
19
License
MIT
Repository
github
Last release
6 years ago

lerna-get-packages

Get an array of packages from a lerna monorepo.

Travis Prettier npm semantic-release License

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 the package.json file for the package.