1.1.0 • Published 3 years ago
sqcred-time-utils v1.1.0
This package has some small methods to do the annoying work for us.
How to install
npm install sqcred-time-utils
Time Conveter Usage:
import { TimeConverter } from 'sqcred-time-utils';
console.log(new TimeConverter(days, hours, minutes, seconds, milliseconds).toMilliseconds());
if you dont need one of the params just fill in 0 supported methods are
- new TimeConverter().toMilliseconds()
- new TimeConverter().toSeconds()
- new TimeConverter().toMinutes()
- new TimeConverter().toHours()
- new TimeConverter().toDays()
- new TimeConverter().toWeeks()
More Comming Soon...