by ecmascript · 5y ago · 0 comments
Yes but with ES modules you can just import them straight into the code and there is really no need for a package manager.
> Does Deno implement its own TypeScript compiler? Even if it does, it's entirely at the mercy of Microsoft who are the only ones who develop Typescript specs.
This may be somewhat true. However I am not using typescript so I am not really sure about this.
My point is not really tied to the language typescript which I am sure will continue just fine. What I am much more worried about is all the packages hosted on npm. At any time Microsoft could do something to restrict it in ways I can't control. Highly unlikely that something extreme will happen perhaps, but I don't trust Microsoft enough.
For example, I could easily see them forcing everyone to use github for node packages in the future etc.
"Just import them". From where?
> What I am much more worried about is all the packages hosted on npm. At any time Microsoft could do something
So, how does deno help?
> So, how does deno help?
By decentralizing the package hosting.
https://news.ycombinator.com/item?id=28284930
> By decentralizing the package hosting.
These are empty words that literally mean nothing. The rest is at the link so as not to have the same conversation in several places.
Litterally anywhere. On Github, on the Deno webpage, in a slack chat message. It is how the browsers has worked for ages and there's never been any issues with that. If the package has deps Deno will download them too in the same manner.
It also means that if there is any problems or dissatisfaction in how your dependencies are hosted you are free to change it to another hosting solution.
> These are empty words that literally mean nothing. The rest is at the link so as not to have the same conversation in several places.
What do you mean it doesn't mean anything? It means that there is not one single place where you have to get your dependencies from. You may think of it as something negative, but I think it's great.