Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
theabbie500412dIt's just that you know these dependencies, Those are popular and obviously "Big" dependencies, you can't expect it to be a 10KB App.
Ah yes I love these tutorials "Get started with X with just 10 lines of code!" (by installing 100MB of dependencies)
Crismon5712dAn honest question:
Isnt that the same as going through your package.lock.json? I am baffled that these two I often use myself have that many dependencies. Or does your count include node modules that are included?
Crismon5712dAnd btw thats not a wasted sunday at all. You can reuse that script maybe and include it in your pipeline which is a great insight when expanding your app.
Root7458511dYou only looked laterally. You should also look vertically.
NodeJS runs on a JS engine (likely v8), which runs a virtual machine, which runs on an abstraction layer in the OS, which runs on several more abstraction layers, which runs on abstractions over the hardware, which in turn runs assembly — which the cpu translates into microcode, which finally runs on the hardware.
If you want something “lightweight,” write it in C or Assembly, and only rely on whatever libraries you must.
The term itself is a ridiculous statement.