NodeJS Essentials 05: OS Module & Environment

Published: 13 May 2019
on channel: Code With Bubb
2,679
60

In this tutorial, you'll learn how to import NodeJS modules, particularly the OS Module and how to use some of it's built in functions.

The Node JS OS Module isn't someting that's used on a day to day basis but there are a few fun functions built in to it that can help you build up information about the environment your programs are running in.

In this NodeJS tutorial, i'll talk you through how to import the module's contents using the require keyword and then how to access the functions contained within the module.

You'll learn how to find out more information about the logged in user, the platform and version of your operating system and also the number of CPUs in your system.

We'll finish off this NodeJS tutorial by creating our own environment variables and then accessing these within your NodeJS programs. Channel Handle @codebubb


Watch video NodeJS Essentials 05: OS Module & Environment online without registration, duration hours minute second in high quality. This video was added by user Code With Bubb 13 May 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,679 once and liked it 60 people.