A CAS registry number such as 67-64-1.
The WebBook page URL.
nistWebbookUrl('67-64-1');
// "https://webbook.nist.gov/cgi/cbook.cgi?ID=C67641"
export function nistWebbookUrl(cas: string): string {
return `https://webbook.nist.gov/cgi/cbook.cgi?ID=C${cas.replace(/-/g, '')}`;
}
Builds the NIST WebBook compound-page URL for a CAS number.