Murvin Lai
  • Me
  • Career
  • Tech Blog
  • My Projects
  • Open Source
    • Install Node.js
    • Node.JS + MongoDB on AWS
    • Node.js + MongoDB + Mongoose
    • Node Crypto Performance
    • NPM
    • My Node Tips
    • Dev NoTe
    • Req and Res in Node.js
    • Remote HTTP Request
  • Foodies
    • My Menu
  • lO_Ok

NPM
(Node Package Management)



NPM is a way to get & install  3rd party packages.  It is handy and have lots of useful packages.

Visit here: http://npmjs.org/


Install:$ sudo curl http://npmjs.org/install.sh | sh



Here are my recommendations for packages:
# for debugging
$ sudo npm install node-inspector

# for Profiling
$ sudo npm install profile

# Install Express, the Node.js framework
$ sudo npm install express

# Install Template Engines (Now, let’s install Jade, jQuery Templates and EJS. However,

$ sudo npm install jade jqtpl ejs


# XML related, install node-expat and then node-xml2js-expat

$ sudo apt-get install -y libexpat1-dev
$ sudo npm install node-xml2js
$ sudo npm install xml2js-expat

# handle query string
$ sudo npm install querystring

# Install Mongoose, (Mongo Driver)
$ sudo npm install mongoose

# Install seq for control flow management
$ sudo npm install seq

# Install microTime for execution time calculation
$ sudo npm install microtime

# Install UUid
$ sudo npm install node-uuid

# Install Extra Encryption library
$ sudo npm install dcrypt



Copyright @2012 Murvinlai.com