Summary
I am trying to import the package in my express typeScript app like that:
import xssShield from "xss-shield";
app.use(xssShield());
I am getting error that xssShield is not callable
I'm submitting a ...
[x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
Trying to use xss-shield as:
const xssShield = require("xss-shield");
app.use(xssShield());