43
submitted 1 year ago* (last edited 1 year ago) by dontblink@feddit.it to c/programming@beehaw.org

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

you are viewing a single comment's thread
view the rest of the comments
[-] TheBaldness@beehaw.org 12 points 1 year ago

And this is why I had so much trouble learning JavaScript. It was unclear where the language ended and the libraries & frameworks began.

[-] brie@beehaw.org 4 points 1 year ago

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.

this post was submitted on 22 Jul 2023
43 points (100.0% liked)

Programming

10 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS