Hacker News new | past | comments | ask | show | jobs | submit login

So what happens when a package on npm depends on a package on Github registry or vice versa?



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




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: