Initiate The Project
Open terminal, navigate to the directory you want the project installed using “
cd directoryname” and run :
Fill out the package name, version, description, entry point, test command, git repo, keywords, author, license after npm init run and hit enter, it should be like this
package.json job to describe the project.
package.json will be generated when
version: the version of your project. Often times, for application development, this field is often neglected as there’s no apparent need for versioning opensource libraies. But still, it can come handy as a source of the deployment’s version.
description: the project’s description
author: the auther of the project