Exiting a CLI Application in Node.js | The Node.js Master Class

Опубликовано: 04 Октябрь 2024
на канале: Pirple
250
0

Your CLI application is running, but what if the user wants to end it? How do you exit your command line application gracefully without just throwing an exception and crashing your app? In this tutorial we'll show you exactly how it's done.

This is a free preview of the "Node.js Master Class" course offered at Pirple.com. In that course we teach you how to build applications in raw Node.js with no frameworks, no NPM, and no dependencies.

Watch the all the preview lectures in this section by clicking on this playlist:

   • Building a CLI - The Node.js Master C...  

There are several other sections of free previews available on our Youtube channel:

   / pirple  

Want to learn to code? Join the community at https://pirple.com

#node.js #nodejs #npm