UNPKG

pubchem

Version:

pubchem simplifies the data retrieval from the PubChem API.

25 lines 1.03 kB
import { getBoilingPoint } from './getBoilingPoint'; import { getDensity } from './getDensity'; import { getFlashPoint } from './getFlashPoint'; import { getMeltingPoint } from './getMeltingPoint'; import { getRefractiveIndex } from './getRefractiveIndex'; import { getSolubility } from './getSolubility'; import { getVaporPressure } from './getVaporPressure'; /** * Returns the experimental data of a compound * @param data Data of a compound data request to the PubChem API * @param options Options for the compound * @returns ExperimentalData */ export function getExperimentalData(data, options) { return { boilingPoint: getBoilingPoint(data, options), density: getDensity(data, options), flashPoint: getFlashPoint(data, options), meltingPoint: getMeltingPoint(data, options), solubility: getSolubility(data), vaporPressure: getVaporPressure(data, options), refractiveIndex: getRefractiveIndex(data), }; } //# sourceMappingURL=getExperimentalData.js.map