readable-time

1.0.0-alpha.2 • Public • Published

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)
 

Readme

Keywords

Package Sidebar

Install

npm i readable-time

Weekly Downloads

3

Version

1.0.0-alpha.2

License

ISC

Last publish

Collaborators

  • xouabita