express-namespace
express-namespace copied to clipboard
Added `exports.init` to allow `namespace` to be added to an express Server instance
I have an app where express Server instances are created in another module, which has its own instance of the express
module, so they don't have the namespace
method. This change allows me to call require('express-namespace').init(app)
to add the method.