readable-time
v1.0.0-alpha.2
Published
Make time readable
Downloads
4
Readme
readable-time
:clock8: 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)