I really feel that the software we write today, with all those unavoidable NPM dependencies, is just pointless since it won't stand the test of time. Why even bother?
It all seems so fragile. We've all seen that xkcd[0].
[0] https://xkcd.com/2347/
edit: replace markdown link with reference.
No - That machine was still there, still running, 7 years later. I never asked about it after that, but if a hack thrown together just to get around corporate email policies can go untouched in a freaking data center... your npm-based software will be OK for far longer than you want it to.
Example: Python data science and Numpy/scipy/pandas stack
If you really want longevity, see COBOL. If you're looking for quicker fun that's closer to your current sand castles, try PHP and Python.
I dislike the latter approach, but the salary is good.
Cars don’t last, buildings don’t last, and bridges don’t last. Yet we trudge on.