What is NPM || How to create package.json file in NODE website.

  • Neel Bhardwaj

  • 15-Jan-2022


  • 181

If you know little about NODE. Then you know how important module in node js

For maintain module in NODE JS there is use of package.json file. Its is very important file for project

This file record all module use for website. So here is example how to install this file in project.


Fro create package.json :

npm init -y OR npm init


For use package in website :

var xyz = require('package-name')


For uninstall any package in website :

npm uninstall package-name

"Programming isn't about what you know,
it's about what you can figure out.”
Chris Pine

Neel Bhardwaj

A full stack developer. I have a Passion for Creating Clean, Beautiful, Interactive, Minimalistic, Responsive and User Friendly website, Developed by Modular, Scalable and Functional Code.

Recent comments

Leave a reply

Fatal error: Cannot declare class Connection, because the name is already in use in /home/d8ouyzxnuef4/public_html/ on line 3