Skip to content

Instantly share code, notes, and snippets.

@Andrew-Spiers
Created May 23, 2014 08:44
Show Gist options
  • Save Andrew-Spiers/fe435eee1dce903c4bcd to your computer and use it in GitHub Desktop.
Save Andrew-Spiers/fe435eee1dce903c4bcd to your computer and use it in GitHub Desktop.
node.js - Move 'requires' out of main application into seperate file
module.exports = {
flash: require('connect-flash'),
express: require('express'),
passport: require('passport'),
cookieParser: require('cookie-parser'),
mongojs: require('mongojs'),
LocalStrategy: require('passport-local').Strategy,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment