Hacker News new | ask | show | jobs
by enriquto 2052 days ago
What's the point of writing this simple tool in js? I'd like to use it but I don't have npm everywhere (and I don't want to grab a huge tree of dependencies just for editing a couple of lines on a text file...)
2 comments

I suspect it was written in JS because that was the author’s language of choice. There are lots of ways to manage git identities and this seems like a decent utility for web devs who already have node installed and don’t care to manually edit config files.
Of course, but my point is that these kind of tools are of general interest, and most programmers are not web developers.
Javascript is a general interest language imo.
I think one of the benefit of using js to write cli tool is that you can install them very easily on Windows.