Hello Readers,
To run the applications based on Node.js we need a "Package.json" file in the root directory. Package.json file tells the dependencies requires in the project. Without this file you cannot run the project.
{ "name" : "pong",
"version" : "0.6.0",
"repository" :
{
},
"dependencies" :
{ "socket.io" : "0.9.6",
"node-static" : "0.7.6" }
}
Where,
"name" is the Static name of the project.
"version" is the current version of node.
"dependencies" is the requirements of all the modules that requires in the project.
0 Comment(s)