Code Monkey home page Code Monkey logo

popular-package's Introduction

popular-package

Get the popularity stats of packages of repo both internally in repo and on npm for bolt or lerna repo

preview

Install

$ yan global add popular-package

Examples

View internal popularity of a package in bolt repo:

$ popular-package internal --bolt

View internal popularity of a packages for a lerna repo:

$ popular-package internal --lerna

View popularity of packages on npm for a bolt repo:

$ popular-package global --bolt

View popularity of packages on npm for a lerna repo:

$ popular-package global --lerna

Usage

$ popular-package <command> [options]
  • command - (internal | global) Wheather to show stats for popularity in repo or globally on npm
  • options - [lerna | bolt] it is a lerna or a bolt repo

Commands

internal

Get the stats of package with dependency in other packages within repo. If no options is passed it will look for packages in /packages/

  • --lerna - If the mono repo is using lerna, needed to pick packages config from lerna.json
  • --bolt - If the mono repo is using bolt, needed to pick bolt packages config from package.json

global

Get the stats of package by the number of downloads in last day on npm. If no options is passed it will look for packages in /packages/

  • --lerna - If the mono repo is using lerna, needed to pick packages config from lerna.json
  • --bolt - If the mono repo is using bolt, needed to pick bolt packages config from package.json

popular-package's People

Contributors

ajaymathur avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.