npm i chejs
const chejs = require('chejs');
Supported units: Celsius(c), Fahrenheit(f), Kelvin(k)
const temp = chejs.tempConvert('300', 'k, 'c');
Supported units: see units.js
const unit = chejs.unitConvert('760', 'mmhg', 'atm');
const molarMassFromFormula = chejs.molarMass('CH3CH2OH');
Supported molecules: see antoine_constants.js Input can be vapor pressure or temperature. Feel free to use any of the supported units.
const pvap = chejs.antoineCalculations('Methyl_alcohol', '760mmhg');
This calculates heat capacity at constant pressure.
Supported compounds, states, temperatures: see heat_capacity_constants.js
const heatCapacity = chejs.heatCapacity('acetone', 'g', '30');
chejs.idealMu(moleFraction, gibbs, R, T)
chejs.idealGibbsEnergy(moleFraction, gibbs, R, T)
chejs.idealEntropy(moleFraction, entropy, R)
chejs.idealVolumn(moleFraction, volume)
chejs.idealEnthalpy(moleFraction, enthalpy)