Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's like wanting to convert a Tesla into a hybrid. Replacing npm with url imports was one of the main motivations to create deno. I don't miss npm at all. I am happy that I don't have to deal with it anymore. But if you want npm you can just continue using node.


What issues were npm giving you?


Most of the issues are just stemming from its centralized nature. Typo squatting for example and other security issues. Beyond that the whole ecosystem around npm is just so bloated. The amount of data you have to pull for any tiny project is ridiculous.

Granted some of those issues is just down to growth of the ecosystem, so it could happen to deno as well. But my hope is that deno community will not repeat most of past mistakes. And it's decentralized nature will help with that.


Npm is great, but it's not ideal to structurally depend on a centralized service for normal functioning.




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

Search: