We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm submitting a ...
Summary I'm attempting to import the xss-shield package into my Express TypeScript application and use it as middleware:
import xssShield from "xss-shield"; app.use(xssShield());
However, I'm encountering the following error:
TypeError: xss.xssShield is not a function
I've verified that the xss-shield package is installed correctly and that I'm using the latest version.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm submitting a ...
Summary
I'm attempting to import the xss-shield package into my Express TypeScript application and use it as middleware:
However, I'm encountering the following error:
TypeError: xss.xssShield is not a function
I've verified that the xss-shield package is installed correctly and that I'm using the latest version.
The text was updated successfully, but these errors were encountered: