list-monorepo-packages
TypeScript icon, indicating that this package has built-in type declarations

2.0.47 • Public • Published

list-monorepo-packages

CircleCI Prettier npm License

Forked from https://github.com/azz/get-monorepo-packages

Get a list of packages from a monorepo. Upgraded to latest dependencies, modern ESM support (as at 2023-01-01) and adds Typescript and PNPM support.

Supports:

Install

npm install --save list-monorepo-packages

Usage

import listPackages from 'list-monorepo-packages';
await 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.

Package Sidebar

Install

npm i list-monorepo-packages

Weekly Downloads

1

Version

2.0.47

License

MIT

Unpacked Size

37.7 kB

Total Files

13

Last publish

Collaborators

  • alexhayton