not able to use express-validator with express 3.x

I am trying to use the express-validator with express 3.0 and it gives and error when I call

expressValidator = require("express-validator") 
app.use(expressValidator)

req.assert(req.body.password,'Enter Password').notEmpty()
errors = req.validationErrors()

I get the error 500: TypeError: Object # has no method 'validationErrors'

How to use the express-validator

Thanks

Be sure you install express-validator using:

npm install express-validator

You should do something like this:

var expressValidator = require("express-validator");
app.use(expressValidator());

app.post('/', function(req, res) {
  req.assert(req.body.password,'Enter Password').notEmpty();
}
var errors = req.validationErrors();