[HN Gopher] Size of node_modules folder when installing the top ... ___________________________________________________________________ Size of node_modules folder when installing the top 100 packages Author : vnglst Score : 24 points Date : 2020-01-09 21:32 UTC (1 hours ago) (HTM) web link (size-of-npm.netlify.com) (TXT) w3m dump (size-of-npm.netlify.com) | capableweb wrote: | Cool! You could even scrape the history of this. If you take a | date that you want to scrape, then you resolve the top-level | packages with their release date that you'll find next to the | version in the package.json. Use the latest found version that is | before the date you're trying to scrape for. | viraptor wrote: | I can't find the code that does the actual package installation. | Does it do deduplication / linking of modules, or does it install | full tree? | vnglst wrote: | I thought it might be (mildly) interesting to keep track of how | the npm node_modules folder grows over time. So I made this | website. Source code: https://github.com/vnglst/size-of-npm/ | pixelbath wrote: | I find this post a bit ironic considering you built a 1.1 MB | React app to display an image and a bit of text (and the image | itself isn't even included in the repository). | nkrisc wrote: | I used create-react-app recently to get up and running with React | to learn more about it and try using it. It works as advertised. | However I also noticed that I now have 906,380 dependencies in | node_modules and it weighs in at about 214MB. I thought that was | mildly interesting. Magic ain't cheap. | bransonf wrote: | Does anyone know what that late November spike is all about? | smabie wrote: | It seems to me that this website could be a completely static | site that is automatically regenerated once a day with a new | graph. Instead you seem to be succumbing to the exact same | problem you are highlighting. This a good example of how the | culture of software engineering is moving in the wrong direction. | We need to all make a stand and say no more to this culture. | | Of course, that's made difficult by the fact it's against our own | collective interest. At this rate even the worst developers will | be able to be employed managing some gargantuan and wholly | unnecessary software stock. | | Not to knock on you to much, but this culture of bloat reminds | about the classic "Evolution of a Programmer" joke: | | https://www.smart-jokes.org/programmer-evolution.html | | Let's all try and be like the Guru Hacker, not the Seasoned | Professional! ___________________________________________________________________ (page generated 2020-01-09 23:00 UTC)