NPM Quality




The Missing Metric

Your Host Tonight


Image source: my 5 yo daughter

Software engineer at MediaSmart Mobile

Freelance scalability consultant

@pinchito

The problem


Source: modulecounts.com

104k modules to choose from

Why is that a problem?


Significant overlap


Many sub-optimal packages


Which modules are the good ones?


How do we compare with other languages?

Towards a Quality Metric


Downloads per day


GitHub stars / forks


Number of versions


Open issues vs closed issues


No need to peek inside the code!

Package quality


A proof of concept


Browse packages in npmjs.org

and then look for the GitHub project


Can be extended to other repos


Help me on GitHub

Thanks!

https://slides.com/alexfernandez/npm-quality

NPM Quality

By Alex Fernández

NPM Quality

Presentation for dotJS, Nov 17th 2014 Paris.

  • 3,223