Member-only story

How to install package JSON file in node js

Bipsmedium
2 min readMay 2, 2023

--

Hi friends, In this tutorial you will learn how to install a package JSON file in node js. Before getting started, let us discuss package.json a little bit.

Also read, Node Js hello world program

What is package.json in node js?

The package .json is a file that includes the project name along with all the related files and dependencies or any external package information of a project. You will get all the external node packages used in your project under dependencies after creating package.json.

Also read, How To Read a File in Node JS

Steps to install package JSON file in node js

Step 1:- Open the vs code editor and go to the terminal.

Step 2:- Now, initialize the command as given below and press ENTER.

Step 3:- Next, keep pressing ENTER on the description, entry point, git repository, keywords, etc as shown below.

version: (1.0.0)
description: Node Js Tutorials
entry point: (index.js)
git repository:
keywords:
author: Biplab Sinha
license: (ISC)
About to write to

--

--

Bipsmedium
Bipsmedium

Written by Bipsmedium

Hi, This is Biplab and I am a PHP laravel developer and other open source technologies. I am here to share my experience with the community.

No responses yet