JavaScript port of the OpenChemLib Java library.
npm install openchemlibTo build this project, you need:
- Java JDK (Tested with version 21)
- GWT (Tested with version 2.12.2, Download build here)
- Node.js (Tested with version 22, 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.