Hacker News new | ask | show | jobs
by vacri 3845 days ago
Is it really a 'script' if you need to add a dir full of modules? I've always thought of 'scripts' as all-in-ones.
1 comments

Well, you're right, it's a tradeoff. The 'script' is not standalone anymore, but it's a (script + package.json) and needs `npm install` to work properly. I still use bash for simple things, but if it grows too much and logic starts getting non-trivial, IMO it's a valid use case to switch.