reymond-group / smilesDrawer

A small, highly performant JavaScript component for parsing and drawing SMILES strings. Released under the MIT license.
https://smilesdrawer.rocks
MIT License
416 stars 66 forks source link

Please review the doc ! #165

Closed rccc closed 12 months ago

rccc commented 1 year ago

Hello,

Since 2.0 i cannot use this library.

The documentation is very confused.

The documentation here : https://smilesdrawer.surge.sh/use.html use "SmiDrawer.apply()" but "SmiDrawer" is never defined.

"SmiDrawer" is only available when importing library from unpkg.com.

When importing from node, v1 syntax does not works anymore.