one function to convert most of the needs with bindings for HTML imputs look the demo for more information.
npm run demoawait evaluate('13 USD to EUR') // 12.69 EUR
await evaluate('1.6m to ft') // 5.2493438 ft
await evaluate('12 km/h to mi/h') // 7.4564543 mi/h
// now = 1/13/2025, 1:25 AM
await evaluate('now + 3 days') // 1/16/2025, 1:25 AM