ChemPal Documentation - v0.0.0
    Preparing search index...

    Function getCompoundNameFromAlias

    • Get the compound name from a synonym.

      Parameters

      • cmpdsynonym: string

        The synonym to get the compound name from.

      Returns Promise<undefined | string>

      The compound name from the synonym.

      const cmpd = await getCompoundNameFromAlias("2-Acetoxybenzenecarboxylic acid");
      console.log(cmpd);
      // Outputs: Aspirin