5 lines
113 B
TypeScript
5 lines
113 B
TypeScript
/// <reference path="./xss.d.ts" />
|
|
|
|
import xss from "xss";
|
|
|
|
console.log(xss("<script>alert('xss');</script>"));
|