How to create a package.json

CREATING A DEFAULT PACKAGE.JSON FILE To create a default package.json using information extracted from the current directory, use the npm init command with the –yes or -y flag You can create package.json from the command prompt or directly from Visual Studio Code. 1. Open Visual Studio Code2. Click on Terminal menu3. Click ‘New Terminal’4. You will see that Terminal is open at the bottom-most screen of Visual Studio Code5. Run below command npm init…

Read More