get-monorepo-packages

Get a list of packages from a monorepo

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
get-monorepo-packages
1.2.05 years ago6 years agoMinified + gzip package size for get-monorepo-packages in KB

Readme

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.