You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made this pure vanilla library to work with time expressions some time ago. It's pretty small, well tested, completely documented, easy to use and works on both Node.js(any version) and browser(any browser/version).
Maybe somebody could get interested.
Ex.:
constKairos=require('kairos');consttime=Kairos.new('10:30','hh:mm');time.divide(2);time.toString('hh:mm:ss');// 05:15:00time.multiply(3);time.toString('hh:mm:ss');// 15:45:00time.getMinutes();// 45time.toMinutes();// 945time.addHours(100);// Without overflowtime.toString('hh:mm:ss');// 15:45:00// With overflowtime.toString('hh:mm:ss',true);// 115:45:00
@rodrigogs the suggestion is that you create a fork of this project, and add in appropriate edits to use the library in question with a pull request to include it into this repository.
I made this pure vanilla library to work with time expressions some time ago. It's pretty small, well tested, completely documented, easy to use and works on both Node.js(any version) and browser(any browser/version).
Maybe somebody could get interested.
Ex.:
https://github.com/rodrigogs/kairos
The text was updated successfully, but these errors were encountered: