UNPKG
x-xss-protection
Version:
latest (2.0.0)
2.0.0
1.3.0
1.2.0
1.1.0
1.0.0
0.2.0
0.1.2
0.1.1
0.1.0
Middleware to disable the X-XSS-Protection header
helmetjs.github.io
helmetjs/helmet
x-xss-protection
/
index.d.ts
4 lines
(3 loc)
•
194 B
TypeScript
View Raw
1
2
3
4
import
{
IncomingMessage
,
ServerResponse
}
from
"http"
; declare
function
xXssProtection
(
):
(
_req: IncomingMessage, res: ServerResponse, next: () =>
void
) =>
void
;
export
default
xXssProtection;