FantaCode I Task #4 I Simple Node.JS module
NodeJS_Module-1
Example to create a module that returns a date and time object:
save the code above in a file called "myfirst.js"
Save the code above in a file called "index.js", and initiate the file:
Initiate index.js:
open terminal >> Terminal Command
C:\Users\Your Name>node index.js
Open Browser and Enter URL >>