HtmlSanitizer icon indicating copy to clipboard operation
HtmlSanitizer copied to clipboard

ES6 module?

Open derek-zhou opened this issue 4 years ago • 4 comments

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'

derek-zhou avatar Oct 29 '21 22:10 derek-zhou

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.

doolijb avatar Dec 28 '21 23:12 doolijb

I'm trying to figure out is there's a cross-browser compatible way to export a module

alex-jitbit avatar Nov 10 '22 15:11 alex-jitbit

@derek-zhou https://github.com/simialbi/html-sanitizer

simialbi avatar Apr 26 '23 09:04 simialbi

An ES6 module that works with TypeScript would be nice.

thdoan avatar May 10 '23 02:05 thdoan