Hide Potentially Dangerous Information Using helmet.hidePoweredBy()

Solution if you are getting error “Helmet is not defined”

const helmet = require(“helmet”);
app.use(helmet.hidePoweredBy());