- express — framework
- express-generator — express template
- node-dev – auto relaunch
- forever — auto relaunch
- jshit — js grammer check
- node-inspector —- debug tool
- npm init — 创建package.json
- npm install –save xxx 自动加入package.json
- npm install –save-dev xxx 自动加入dev的依赖中
- npm install –save-dev mocha – QA
- npm install –save-dev zombie – QA
- npm install –save-dev chai — assert module
- npm install -g JSHint — Code optimization
- npm install -g grunt-cli —- grunt command line
- npm install –save-dev grunt – grunt
- npm install –save-dev grunt-cafe-mocha– grunt plugin for mocha
- npm install –save-dev grunt-contrib-jshint– grunt plugin for jshint
- npm install –save-dev grunt-link-checker – grunt plugin for linkChecker
- npm install –save-dev grunt-exec —— grunt plugin for executing shell command
- npm install –save body-parser — parse the params in body(for post) middlerware
- npm install –save formidable —- upload file plugin
- npm install –save cookie-parser — express with cookie middlerware
- npm install –save express-session — express session mddlware
- npm install –save nodemailer — mail service
- npm install –save-dev morgan — log for development env
- npm install –save express-logger – log for production 有每24小时新建log文件,防止log超多
- var methodOverride = require(‘method-override’); — 针对非post get 请求
- var crypto = require(‘crypto’), —加密用, node 自带
- npm install –save xml2js — xml to json
- npm install –save request — make request
- npm install –save node-schedule —定时任务