pubchem
Version:
pubchem simplifies the data retrieval from the PubChem API.
13 lines • 419 B
JavaScript
import { getFormula } from './getFormula.js';
import { getInChI } from './getInChI.js';
import { getInChIKey } from './getInChIKey.js';
import { getSMILES } from './getSMILES.js';
export function getIdentifiers(data) {
return {
formula: getFormula(data),
inchi: getInChI(data),
inchiKey: getInChIKey(data),
smiles: getSMILES(data),
};
}
//# sourceMappingURL=getIdentifiers.js.map