How to Build a Command-line Utility (CLI) with Node.js

Written by rushankhan | Published 2021/01/21
Tech Story Tags: javascript | cli | nodejs | npm | language-translation | command-line | programming | coding | web-monetization

TLDR Command-line utilities are the most basic and beautiful apps ever created, the apps that started it all. We’ll use Node.js to build a simple command-line utility to translate between languages. We'll accept string type arguments, parse them into a sentence, shoot them off to a translation API which will fetch us the translations. The complete code for this can be found on the Github repository. The first line with #! is called a bang or bang bang, or a bang.via the TL;DR App

no story

Written by rushankhan | A full stack developer that likes making stuff. Oh, and Red Bull.
Published by HackerNoon on 2021/01/21