
Zero-dependency CLIs with Node.js with Ian Sutherland
PodRocket - A web development podcast from LogRocket
00:00
Zero Dependency Projects
I don't think it's realistic today. I would say the goal at this point is maybe just to minimize the number of dependencies you have to pull in. Another thing too is if your CLI has a lot ofdependencies that you ship with it, your program is going to be slower to start. If you type a quick command and you're expecting a pretty instantaneous response, but there's a 500 millisecond delay every time you run a command while it's parsing all of your dependencies, that makes for not a very good developer experience. You can eliminate that build step as part of releasing yourcli.
Transcript
Play full episode