diegodfsd
11/2/2011 - 3:38 AM

npm install

npm install

//instala pacote no node globalmente
npm install -g package

//instala pacote localmente
npm install pacote

//package.json
//http://wiki.commonjs.org/wiki/Packages/1.0
{
   "name" : "app-name"
 , "description" : ""
 , "version" : "0.1.0"
 , "dependencies" : {
           "express" : "2.5.0"
	 , "mongoose" : "2.3.7"
	 , "nodeunit" : "0.5.5"
         , "ejs": "0.0.1"
	}
}