HtmlSanitizer
HtmlSanitizer copied to clipboard
ES6 module?
It will be great if this is published as a ES6 module, with proper exports, so I can just do:
import HtmlSanitizer from '@jitbit/htmlsanitizer'
Agreed. I actually got started on this, but when I went to convert the tests to QUnit, I realized that this entire library basically has to be rewritten.
I'm trying to figure out is there's a cross-browser compatible way to export a module
@derek-zhou https://github.com/simialbi/html-sanitizer
An ES6 module that works with TypeScript would be nice.