r/javascript • • May 10 '19

GitHub Package Registry

https://github.com/features/package-registry
242 Upvotes

47 comments sorted by

View all comments

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.

12

u/choonggg May 11 '19

Vim plugins uses this format which works quite well.

Plug "user/repo"

8

u/habanerocorncakes May 11 '19

Npm uses that too actually, but only when installing deps.

npm i userName/repoName

1

u/i_ate_god May 11 '19

yes, user/repo points to a single plugin.

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.

1

u/bladefinor May 11 '19

And Verdaccio

1

u/i_ate_god May 11 '19

well, Verdaccio I believe is just an npm repository. Github will support numerous package managers.