paint-brush
How to Build a Command-line Utility (CLI) with Node.jsby@rushankhan
1,627 reads
1,627 reads

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

by Rushan Khan10mJanuary 21st, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - How to Build a Command-line Utility (CLI) with Node.js
Rushan Khan HackerNoon profile picture
Rushan Khan

Rushan Khan

@rushankhan

A full stack developer that likes making stuff. Oh, and Red Bull.

About @rushankhan
LEARN MORE ABOUT @RUSHANKHAN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Rushan Khan HackerNoon profile picture
Rushan Khan@rushankhan
A full stack developer that likes making stuff. Oh, and Red Bull.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite