npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

sourceranks

2.0.4

@zeke

npmHomeRepoSnykSocket
Downloads:5
$ npm install sourceranks
DailyWeeklyMonthlyYearly

sourceranks

libraries.io SourceRank scores for every package in the npm registry

Installation

npm install sourceranks --save

Programmatic Usage

This module exports a single object.

Keys are package names. Values are SourceRank scores

const sourceranks = require('sourceranks')

sourceranks.babel
// 32

It includes scoped packages too:

sourceranks['@angular/cli']
// 26

CLI Usage

sourcenames is also available as a command-line tool which accepts one or many package names and prints out their sourcerank scores:

npm i -g sourcenames
sourcenames choo chai chalk

The CLI can also read from newline-delimited standard input.

Pair sourcenames with the depnames CLI to view sourceranks for all the dependencies of a given package:

npm i -g sourcenames depnames
depnames superagent | sourcenames

component-emitter 24
cookiejar 20
debug 28
extend 25
form-data 25
formidable 24
methods 23
mime 27
qs 25
readable-stream 25

License

MIT