Universal running pace converter. Minutes per kilometer, Kilometers per hour, Minutes per mile, Miles per hour.
➜ ~ npm i -S pace-converter
const convert = require('pace-converter').convert;
const model = convert('4:50', 'minkm');
console.log('model:', JSON.stringify(model, null, 2));
➜ ~ npm i -g pace-converter
➜ ~ pace-converter-convert -p 4:40 -u minkm
{ minkm: '04:40.00', kmh: 12.857, minmi: '07:30.60', mih: 7.989 }
-
Minutes per kilometer: 'minkm'
-
Kilometers per hour: 'kmh'
-
Minutes per mile: 'minmi'
-
Miles per hour: 'mih'
-
Minutes per kilometer to Kilometers per hour (minkm2kmh)
-
Kilometers per hour to Minutes per kilometer (kmh2minkm)
-
Minutes per kilometer to Minutes per mile (minkm2minmi)
-
Minutes per mile to Minutes per kilometer (minmi2minkm)
-
Minutes per kilometer to Miles per hour (minkm2mih)
-
Miles per hour to Minutes per kilometer (mih2minkm)
-
Kilometers per hour to Minutes per mile (kmh2minmi)
-
Minutes per mile to Kilometers per hour (minmi2kmh)
-
Kilometers per hour to Miles per hour (kmh2mih)
-
Miles per hour to Kilometers per hour (mih2kmh)
-
Miles per hour to Minutes per mile (mih2minmi)
-
Minutes per mile to Miles per hour (minmi2mih)