Hi, there
I want to integrate this library into node.js project. I think for modern JavaScript development, the TypeScript and ESM support will benefit a lot.
And, I think it would be better if add a toSVG() method that output SVG string directly. Like:
let smilesDrawer = new SmilesDrawer.Drawer(options);
smilesDrawer.toSVG(" ... SMILES CODE... ") // => <svg> ... </svg>