popular-package

1.0.1 • Public • Published

popular-package

Get the popularity stats of packages in a mono repository either internally or on npm for bolt or lerna.

preview

Install

$ yarn global add popular-package

Examples

View internal popularity of a package in bolt or lerna repository:

$ popular-package internal

View popularity of packages on npm for a bolt or lerna repository:

$ popular-package global

Usage

$ popular-package <command>
  • command - (internal | global) Wheather to show stats for popularity in repository or globally on npm

Commands

internal

Get the stats of a package with dependency in other packages within repository.

global

Get the stats of a package by the number of downloads in last day on npm.

Packages Pattern

Bolt

It will read pattern of workspaces from bolt config in package json of the repository.

Lerna

It will read pattern of packages from lerna.json in repository.


If neither lerna.json or bolt config in packages json is found packages pattern will default to → [packages/*]

Dependencies (9)

Dev Dependencies (4)

Package Sidebar

Install

npm i popular-package

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

11.6 kB

Total Files

10

Last publish

Collaborators

  • ajaynarainmathur