open-source-stats-stream

2.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i open-source-stats-stream

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

7.09 kB

Total Files

6

Last publish

Collaborators

  • mafintosh