@jurijtokarski/times
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

Simple time converting to miliseconds

Install

npm i @jurijtokarski/times or yarn add @jurijtokarski/times.

getSecondsInMS

getSecondsInMS(10); // => 10000

getMinutesInMS

getMinutesInMS(10); // => 600000

getHoursInMS

getHoursInMS(10); // => 36000000

getDaysInMS

getDaysInMS(10); // => 864000000

getWeeksInMS

getWeeksInMS(10); // => 6048000000

Definitions

Feel free to check TypeScript's definitions for the package.

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @jurijtokarski/times

    Weekly Downloads

    10

    Version

    0.7.0

    License

    MIT

    Unpacked Size

    3.73 kB

    Total Files

    7

    Last publish

    Collaborators

    • jurijtokarski