leizongmin / js-xss

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
http://jsxss.com
Other
5.2k stars 629 forks source link

Function filterXSS isn't exported in TS typings #154

Closed marekdedic closed 5 years ago

marekdedic commented 5 years ago

Hi, it appears to me that the function filterXSS is not exported from the typings - making the "shim mode" example from https://jsxss.com/en/starter/quickstart.html not work. I would submit a PR, but I am unfortunately lost in JS modules as I don't use them personally.

Thank you