bodymovin / bodymovin-to-smil

bodymovin to smil
MIT License
39 stars 7 forks source link

Replace xml with a stripped down version that works in the browser #7

Closed circlingthesun closed 3 years ago

circlingthesun commented 3 years ago

I've been using bodymovin-to-smil to convert bodymovin files to svgs in the browser. I couldn't get this to work with the existing xml library because it uses node streams that requires big polyfills. Given that this library doesn't use the streams I stripped it out.

I've also added prettier and editor config files to maintain consistent formatting.

Please don't feel obligated to accept this PR if you prefer to rely on the npm version of xml. It has not however been updated for 6 years and appears to be unmaintained.

bodymovin commented 3 years ago

thanks for all the improvements! And supporting it on the browser could be useful as well.