Member-only story
How to install Express js in vs code with an example
Hi friends, in this tutorial, you will learn how to install Express js in vs code and use it.
What is express js?
Express js is a web application framework of Node JS, providing a more secure environment and robustness to run the node js programs. It also reduces the lines of code for the programs written in core node js and saves time. The express js framework includes all the necessary packages and libraries inside the dependencies which are required at the time of executing programs.
Also read, Write a file into a specific folder in Node JS example
Steps to install Express js in vs code
Step 1:- First, go to this link and copy the npm command as shown in the image below.
Step 2:- Open vs code editor and open the terminal.
if you do not know how to run a node js program in vs code, click the link below.
Also, read, Node Js hello world program
Step 3:- Now, paste the command “npm install express” for installing express which you copied from the above link and press ENTER as shown below.
Step 4:- Now, you have installed express js successfully and you can see the express.js under dependencies inside the…