You wouldn't, you would use JSR.
I know this is in the context of JSR where this isn't an issue, but I suppose some people just want to just use a registry as a personal code repository. Id just hope they don't pollute the top level namespace in that case.
Who am I kidding, sadly for NPM that ship sailed years ago :*-(