Earlier quoted context omitted.
If their code is proprietary, no one can use it. Even if they accidentally uploaded it to a public site.
> If their code is proprietary, no one can use it. Even if they accidentally uploaded it to a public site. Surely this depends on the terms under which they uploaded it. I would expect npm to have a legal structure in place under which code you upload for public use is also licensed for public use.
Not how it works. For example, see the license field here: