Socket
Book a DemoInstallSign in
Socket

open-source-stats-stream

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

open-source-stats-stream

WIP - nothing to see here

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

open-source-stats-stream

A stream that tails npm and node core commits to produce an open source stat digest of a group on contributors

npm install open-source-stats-stream

Usage

const createStream = require('open-source-stats-stream')

// pass in an array of names that identify the contributors
createStream(['mafintosh', 'Mathias Buus'])
  .on('data', console.log) // emitted everytime the stats are updated

Will produce a stream of stats that looks like this:

{ npm: 
   { totalModules: 646719,
     maintaining: 687,
     lastMonth: { downloads: 293745180, updated: 62, created: 4 } },
  nodeCore: 
   { lastMonth: { totalCommits: 415, authored: 3, reviewed: 0, committed: 1 } } }

Command line tool

There is also an command line tool available

npm install -g open-source-stats-stream
open-source-stats-stream mafintosh 'Mathias Buus'

License

MIT

FAQs

Package last updated on 14 Jun 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