With a little help I\'ve arrived at the following code to promisify a passport.js login strategy.
var passport = require(\'passport\'); var LocalStrategy = r
Currently, there is no way to do it with .nodeify, you can of course do it manually with .then:
.nodeify
.then
.then(function(result){ done(/*whatever arguments you need*/); },function(failure){ done(/* failure argumnets */); });