Const
Object containing the resources or JSON string for such an object.
Read and register the static resources synchronously. This is a convenience method for Node.js.
Optional
path: stringPath to the resources.json file. If omitted, the file will be read relative to the openchemlib.js module location.
Fetch and register the static resources asynchronously from a URL.
Optional
url: stringURL to the resources.json file. If omitted, fetch will be done relative to the openchemlib.js module location.
Register the static resources. This is needed for some APIs.