dom-serializer
dom-serializer copied to clipboard
chore: Migrate to TypeScript class format to allow DomSerializer extension
Hi ! 👋
I'm using dom-serializer in a project and i needed to extend the behavior.
In order to do so i had to rework the code to use a TypeScript class and then create a subclass of "DomSerializer".
I've decided to push this as a PR as it can be useful to others 😀