Skip to content

Add TypeScript, ESM, directly SVG string output interface support. #199

@PrinOrange

Description

@PrinOrange

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions