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 17 Apr 18 Apr 19 Apr 20 Apr 21 Apr 22 Apr 23 Avg Growth
Clojars (Clojure) 8952 8962 8974 8984 8990 8996 9005 9/day
CPAN 29417 29422 29425 29432 29437 29442 29452 6/day
CPAN (search) 29417 29422 29427 29432 29437 29442 29454 6/day
CRAN (R) 5450 5453 5456 5457 5457 5456 5461 2/day
Hackage (Haskell) 6316 6324 6326 6331 6336 6337 6342 4/day
Maven Central (Java) 75527 75695 75745 75790 75861 76030 76127 100/day
MELPA (Emacs) 1755 1756 1757 1757 1760 1762 1766 2/day
npm (node.js) 68533 68734 68841 68975 69130 69330 69529 166/day
nuget (.NET) 21736 21771 21809 21823 21842 21878 21940 34/day
Packagist (PHP) 28100 28167 28195 28220 28276 28343 28429 55/day
Pear (PHP) 595 595 595 595 595 595 595 0/day
PyPI 42442 42493 42525 42552 42571 42617 42678 39/day
Rubygems.org 74058 74144 74173 74214 74289 74240 74327 45/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.