What you do not realise is that Github is also the same and would have had to comply with them, since neither npm or Github can do anything about it. If Github were to take your repository down because of the same reason, are you going to take down all your repositories? You were being selfish/childish and broke builds everywhere.
There’s a reason why Trademarks exist and why people have to enforce them. I don’t assume you know anything about them.