gchempaint2json

convert gchempaint files to a JSON representation

npm install gchempaint2json
10 downloads in the last week
10 downloads in the last month

gchempaint2json

Convert simple gchempaint files containing just molecules to a JSON representation.

Output format

See benzene.json

API

convert(xml)

XML is expected to be an XML string representing a gchempaint document. Returns the JSON representation of the document.

npm loves you