Is it based on the number of downloads or the number of dependencies of the open-source components, or from another perspective?
I would like to obtain the rankings of popular components in various package managers.
As of 2023, there are multiples package managers per languages, frameworks, OSs available. Each one is providing an analogous but different way of displaying and sorting open-source modules. This functionality is most of the time achievable online with a web browser for certain package managers or with an agregator service.
Python
pip: better use https://pypi.org/search or see pip specific thread
Node.js
npm/yarn: https://www.npmjs.com/search or see this answer
PHP
Composer: https://packagist.org or see here
Java
Maven: https://search.maven.org
Windows
Chocolatey: Choco package search
linux
apt: see your distro specific website.
MacOS, Linux
HomeBrew: see HomeBrewOfficial website