Skip to content

Instantly share code, notes, and snippets.

@dweinstein
Forked from heapwolf/npm-qos-heuristic.md
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dweinstein/428ff9a5cf0d41057262 to your computer and use it in GitHub Desktop.
Save dweinstein/428ff9a5cf0d41057262 to your computer and use it in GitHub Desktop.
general heuristics for ranking package quality node npm

Health

Has CI

Tests pass

Total number of breaking commits

Number of dependencies

Average age of issue

Frequency of issues fixed

Average response time of issues fixed to bugs filed

Last commit

Frequency of releases

Popularity

Number of dependent modules

Number of total downloads

Frequency of downloads

Frequency of commits

Number of contributors

Quality

Is well documented.

A markdown based README can be parsed to find headers corresponding to the man pages spec or else if there is no pattern match, a set of basic rules.

Number of Major releases

Reaching version 1.0 for node modules represents a significant milestone in stability.

Number of npm stars

When someone runs npm star <module-name> they are making a public statement about their appreciation for it.

Number of github stars

When someone stars a github repo they are making a public statement about their interest in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment