var _= require('lodash');
var _= require('lodash/core');
var fp = require('lodash/fp');
var array = require('lodash/array');
app.get('/home/:Titleid', function (req, res) {
let TitleId=_.lowerCase(req.params.Titleid);
})
I have installed Lodash package properly, but when i try to use any function it gives error
You're overwriting the lodash
import (_
) with var _= require('lodash/core');
. Remove that line and you should be fine.