JavaScript port of the OpenChemLib Java library.
npm install openchemlibTo build this project, you need:
- Java JDK (Tested with version 25)
- GWT (Tested with version 2.13.1, Download build here)
- Node.js (Tested with version 26, Download here)
npm ciCopy config.default.json to config.json and put the path to the GWT classes on your computer.
If you want to use a custom JDK installation, set the "jdk" key to be the path to your JDK directory.
To run one of the scripts, use npm run <scriptName>.
To pass additional options, use npm run <scriptName> -- --option.
Compile and export the Java API.
Copy the required Java files from the openchemlib project.