npm.io
1.3.0 • Published 1 year ago

get-monorepo-packages

Licence
MIT
Version
1.3.0
Deps
2
Size
5 kB
Vulns
0
Weekly
0
Stars
19

get-monorepo-packages

Travis Prettier npm semantic-release License

Get a list of packages from a monorepo. Supports:

Install

npm install --save get-monorepo-packages

Usage

import getPackages from 'get-monorepo-packages';
getPackages('/path/to/root');

Returns an array of objects containing:

  • location - The relative path to the package.
  • package - The package.json file for the package.

Keywords