Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES6 module? #12

Open
derek-zhou opened this issue Oct 29, 2021 · 4 comments
Open

ES6 module? #12

derek-zhou opened this issue Oct 29, 2021 · 4 comments

Comments

@derek-zhou
Copy link

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'
@doolijb
Copy link

doolijb commented Dec 28, 2021

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.

@alex-jitbit
Copy link
Member

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

@simialbi
Copy link

@thdoan
Copy link

thdoan commented May 10, 2023

An ES6 module that works with TypeScript would be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants