Sunday, February 24, 2013

[Node.js] Example showing how to install node.js module with Image

1) Open commend prompt and go to the root which you wanted to install the module.

2) Enter the rpm command to download the related packages from internet automatically.
npm install cheerio
In my case, I wanted to install cheerio so use "npm install cheerio",
if you want to install request, you can use "npm install request"


3) After the download progress is finished, a file named "node_modules" would appear within your project root.

No comments :

Post a Comment