Yeah, I was going to come here to say this. Apart from a) stars are a dubious metric b) 5000 stars is an insanely high bar, there is the issue that there are definitely lots of projects that choose not to partake in GitHub at this point.
That said, they do have a "contact us" line in there which implies some flexibility.
You can easily buy stars in bulk, like you can buy social media “likes” so they are kind of measuring the wrong thing and incentivizing the wrong behaviors.
I don't even star the vast majority of packages I use... I usually only star repos I don't use but find interesting and may want to refer back to in the future.
And completely excludes projects not hosted on Microsoft's GitHub or NPM (Though they do say you can contact them if you don't meet their insane criteria).