Hello Folks! Today we will will move ahead and learn node.js more. We are going to write our first code in node.js today. Then we will discuss about modules in node.js. This post will be long so please stay tuned and let's code together. Initializing the working directory: Open a suitable text editor of your choice. I will use VS Code for the whole series of Node.js to learn Node.js. From FILE , select OPEN FOLDER and select a working directory for your learning. The alternative to this is, right click on the desired working directory and select OPEN WITH CODE. After the working directory has opened we will have to initialize the directory for our Node.js activities. We do it by : >> npm init After that a series of questions are asked as shown in the following picture : We are asked package name, version, description, entry point, test command, git repository,keywords, author and license of our project. Don't worry. Here I have left it empty for ...
learnnodeonline.blogspot.com is a blogging website to learn node.js. Here, readers can learn node.js online and can learn node.js for free. It is made sure that here everything about node.js is taught from scratch.