Module Counts

  • Include
  • Clojars (Clojure)
  • CPAN
  • CPAN (search)
  • CRAN (R)
  • Hackage (Haskell)
  • Maven Central (Java)
  • MELPA (Emacs)
  • npm (node.js)
  • nuget (.NET)
  • Packagist (PHP)
  • Pear (PHP)
  • PyPI
  • Rubygems.org
  • time period
  • all time
  • last year
  • last 90 days
  • last 30 days
  • last 7 days
Apr 11 Apr 12 Apr 13 Apr 14 Apr 15 Apr 16 Apr 17 Avg Growth
Clojars (Clojure) 8899 8905 8912 8925 8936 8945 8952 8/day
CPAN 29373 29384 29391 29391 29394 29401 29417 7/day
CPAN (search) 29374 29385 29391 29392 29396 29402 29417 7/day
CRAN (R) 5423 5426 5428 5438 5443 5449 5450 4/day
Hackage (Haskell) 6298 6299 6300 6307 6311 6313 6316 3/day
Maven Central (Java) 74962 75188 75203 75263 75309 75452 75527 98/day
MELPA (Emacs) 1743 1745 1751 1752 1755 1755 1755 2/day
npm (node.js) 69312 69444 69570 69749 69931 70146 68533 -85/day
nuget (.NET) 21544 21572 21598 21619 21657 21704 21736 33/day
Packagist (PHP) 27706 27771 27815 27873 27945 28020 28100 67/day
Pear (PHP) 595 595 595 595 595 595 595 0/day
PyPI 42197 42240 42261 42303 42356 42395 42442 41/day
Rubygems.org 73675 73733 73776 73823 73903 73950 74058 65/day

Data is collected by scraping the relevant websites once a day via a cron job and then stored in a Postgresql database for later retrieval. Growth rates are calculated by averaging data over the last week. I'm gathering counts of separate modules, so multiple versions of the same module/package/gem only count once (foo-1.2, foo-1.3 and bar-1.0 would count as 2 total).

(Feb 2, 2014) Upgraded off the free database plan. The database had outgrown Heroku's 100% free tier. It still qualifies for the hobby level, though. Also added the Melpa (Emacs) repository, and update the Hackage (Haskell) repository to use a different and hopefully more reliable data source.

(Mar 30, 2013) Several folks asked me to add Maven Central. It's a really big Java module repository. I look forward to seeing how fast it's growing. For now, this is the first time we've had a change in the top spot since Rubygems.org passed up CPAN in early 2011.

(Feb 28, 2013) Markus Fischer pointed out that there's a much bigger and better PHP package archive called Packagist. It's been added to the list. They have an awesome statistics page.

Several other folks reported issues with IE compatibility, CSV downloads and chart layout. Hopefully those are all fixed now.

I just (Nov 25, 2012) added the Clojars repository. Much thanks to Jonas Clasen for pointing it out to me.

Much thanks to W Watson for pointing out the nuget (.NET) package repository. I'd like to add more repositories. If you have suggestions, please send them to erik@debill.org.

CPAN and CPAN (search) used to be two conflicting sources for data about how many modules are in CPAN. During spring of 2011 CPAN got a site refresh and the numbers came into line with each other. It looks funny on the graph, but it's an interesting bit of history.

If you'd like to check out the data in more detail, you are welcome to download it in a CSV file.