Github is offering you your own NPM repository, to host multiple modules. By the looks of it, its OSS competitors are things like Artifactory and Nexus.
Where this is awkward is if github doesn't have the same package listing as npm does. But hopefully they figured out a good way around that whole issue
You can point individual scopes (e.g. @babel) to different registries using .npmrc, so you can consume specific packages from GitHub that are under your scope (username), but all others from the official NPM registry.
Come on it's actually not that bad. I used to do this with private repo dependencies. It's not like you have that many dependencies to specify where specifying a full URL vs username/package could be a big deal. A lot of times you are just going to copy paste the URL anyway.
24
u/i_ate_god May 11 '19
So this is pretty cool, but if I have to start adding a repository URL for every dependency, I'm going to be very annoyed.