1.

What do you mean by Package Jason? Can you name some of its attributes?

Answer»

The PACKAGE.json file is the core of Node.js system. It is the main file of any Node.js project and contains the complete information about the project. Developers have to have a deep understanding of package.json file to work with Node.js. It is the first step to learn about development in Node.js. Package.jason is mostly used for DEFINING the PROPERTIES of a package and it is always present in the root directory folder of any Node js application. The most common attributes of Package.Jason are as following:- 

  • name - Name of the package 
  • version - Version of the package 
  • DESCRIPTION - Brief description of the package 
  • homepage - Homepage of the package 
  • AUTHOR - Author of the package 
  • contributors - Name of the contributors to the package 
  • dependencies - List out all dependencies and npm will automatically install all the dependencies described here.  
  • repository - Repository type and url of the package 
  • main - Starting point of the package 
  • keywords - Important keywords 


Discussion

No Comment Found