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


On this page of the site you can watch the video online NodeJS Essentials 05: OS Module & Environment with a duration of hours minute second in good quality, which was uploaded by the user Code With Bubb 13 May 2019, share the link with friends and acquaintances, this video has already been watched 2,679 times on youtube and it was liked by 60 viewers. Enjoy your viewing!