lerna-get-packages
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/lerna-get-packages package

1.0.0 • Public • Published

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.

/lerna-get-packages/

    Package Sidebar

    Install

    npm i lerna-get-packages

    Weekly Downloads

    9

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • azz