Last active
August 29, 2015 14:00
-
-
Save tmshv/11089243 to your computer and use it in GitHub Desktop.
npm install express
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install --save express body-parser compression cookie-session morgan cookie-parser express-session static-favicon response-time errorhandler method-override connect-timeout vhost csurf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require("express"); | |
var favicon = require("static-favicon"); | |
var errorHandler = require("error-handler"); | |
var methodOverride = require("method-override"); | |
var morgan = require("morgan"); | |
var cookieParser = require("cookie-parser"); | |
var bodyParser = require("body-parser"); | |
var expressSession = require("express-session"); | |
var compression = require("compression"); | |
var cookieSession = require("cookie-session"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment