This seem quite counter intuitive and to be bloating the project: i’m trying to install tsdoc linter, but npm adds like other 50 packages alongside with it, is this the expected behaviour? Why is it so?

A project that could easily be 5MB ends up being like 60MB

  • The strategy I use for JS is to try to find things on MDN first, since a lot of the time there’s the JS method, and then there’s the jQuery/whatever-framework method, and MDN only has the prior.