Hacker News new | ask | show | jobs
by mfatica 2604 days ago
The same way it works today when you utilize packages from multiple repositories. Github isn't the first non-npm repository in existence.
1 comments

What if they clash (eh user/package exist both on npmjs.com and GitHub)? Does it go through each of the configured repositories in sequence looking for a match?
You configure the NPM client on what your primary registry is. I think this github repo will mirror everything on NPM (?).
That will cause crashes between username scopes on npmjs and GitHub