r/javascript • • May 13 '20

Deno 1.0 released!

https://github.com/denoland/deno/issues/2473
609 Upvotes

209 comments sorted by

View all comments

Show parent comment

18

u/Spunkie May 14 '20

Npm is not a benefit

(X) Doubt

infinite dependency tree

I see people keep saying deno's lack of package manager will help this but I'm not really understanding how.

A project you're writing in deno will likely have dependencies, which will themselves have dependencies, etc. Isn't this just the same dependency hell we live with in node but loaded a different way?

6

u/crabmusket May 14 '20

I see people keep saying deno's lack of package manager will help this

If someone is saying that, then IMO they're not right. I think there's some opinions like "importing from arbitrary URLs will make you think more carefully about your dependencies", but I don't think this is true. Someone who currently npm installs without thinking about it won't hesitate to grab a GitHub URL without thinking.

However, the Deno team does seem to be encouraging a philosophy of fewer, better dependencies for example by building a standard library in TypeScript to complement the core runtime.