And this is generally true; for similarly age libraries, the one with better quality (accounting for docs as well!) is normally more popular. There are exceptions for sure, as recently popular dev's libraries become more popular because of how popular their author is, but I'd say in libraries that are 3-5+ years old this generally holds true