Nothing; mutates the global window
exposeDebugApi();
// In the console: await window.chempal.resolveSmiles("CCO")
export function exposeDebugApi(): void {
window.chempal = chempal;
printDebug('%cChemPal debug helpers ready — run chempal.help()', 'color:#6cf;font-weight:bold');
}
Attaches the chemistry helper API to
window.chempalso the resolvers can be exercised from the browser devtools console. Intended for dev/non-production builds only — the caller gates this behindIS_DEV_BUILDso it is tree-shaken out of production bundles.