Socket
Book a DemoInstallSign in
Socket

sourceranks

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sourceranks

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

latest
Source
npmnpm
Version
2.0.4
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 17 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts