UNPKG

pubchem

Version:

pubchem simplifies the data retrieval from the PubChem API.

12 lines 400 B
import { getNumberProperties } from './getNumberProperties'; /** * Returns the heavy atom count of a compound * * @param data Data of a compound data request to the PubChem API * @returns Computed Data */ export function getHeavyAtomCount(data) { const heavyAtomCount = getNumberProperties(data, 'Heavy Atom Count'); return heavyAtomCount; } //# sourceMappingURL=getHeavyAtomCount.js.map