i want to use the express-validator in my project .
i require the const expressValidator = require('express-validator')
and i using that like this :
app.use(expressValidator())
but when i run the project it show me this error :
app.use(expressValidator()) ^
TypeError: expressValidator is not a function
Whats the problem ? how can i solve this problem ???