Hacker News new | ask | show | jobs
by passenger 2604 days ago
So what happens when a package on npm depends on a package on Github registry or vice versa?
1 comments

The same way it works today when you utilize packages from multiple repositories. Github isn't the first non-npm repository in existence.
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