Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

NPM

NPM is the package manager for Node.js, NPM is also used to install dependent packages for client side applications like React, Angular etc. NPM takes care of installing and maintaining the dependent packages for a project.

The command npm init is used to create a new project, this command will create a project.json file which will record all the dependent packages required for the project. If also records the commands to be executed when we build/run/test the Project.

The package.json file for our Hello World React application looks as follows.



This post first appeared on C# Guide, please read the originial post: here

Subscribe to C# Guide

Get updates delivered right to your inbox!

Thank you for your subscription

×