readable-time 🕗 Simple library to make time readable how to use With the function bind operator: import {s, m, h} from 'readable-time' console.log(2::h() + 45::m() + 23::s() === 2 * 3600000 + 45 * 60000 + 23 * 1000)