ecosyste-ms / packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.
https://packages.ecosyste.ms
GNU Affero General Public License v3.0
21 stars 4 forks source link

Incorrect npmjs.org package count? #805

Closed uncenter closed 5 days ago

uncenter commented 6 days ago

I'm curious where the "4,392,282 packages" number on https://packages.ecosyste.ms/registries/npmjs.org/packages is coming from. According to the live, constantly updating counter of packages on the homepage of npmjs.org (when logged in) itself, the number is at 3,176,303...

andrew commented 6 days ago

@uncenter that number includes packages that have been removed/deleted which I guess npm doesn't include in it's count

uncenter commented 6 days ago

Thanks for answering so quick! I think it makes sense to include removed/deleted packages though 🤔 was that an intentional choice for ecosyte-ms?

andrew commented 5 days ago

@uncenter yeah kinda, ecosyste.ms is designed for collecting and using package manager metadata for research purposes, so keeping around removed/deprecated packages is definitely helpful.