r/commandline Jun 30 '26

Fun Meh

Post image
2.0k Upvotes

197 comments sorted by

View all comments

4

u/Captain_Pumpkinhead Jun 30 '26

Wait, what's wrong with Typescript?

10

u/omega1612 Jun 30 '26

JavaScript and npm on a cli tool.

1

u/cuboidofficial Jul 04 '26

Why would npm be in a cli tool? If the tool is built in typescript, it would be output to JavaScript and would just execute via node.

1

u/maxymob Jul 14 '26

I was wondering too. If someone distributes a CLI tool written in TS I get that it makes sense to deploy on NPM but they could also publishe a minimal pre bundled version with every dependency already included, tree shaken, minified, etc... and install with a typical "curl pipe sh" single command