@turist/time
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.2 • Public • Published

    time

    Easily convert time to milliseconds

    Examples

    import time, { TimeUnit } from "@turist/time"
    
    console.log(time(10, TimeUnit.Minute))
    console.log(time(1, TimeUnit.Hour))

    Available TimeUnits are Year, Week, Day, Hour, Minute, Second, MilliSecond

    Keywords

    none

    Install

    npm i @turist/time

    DownloadsWeekly Downloads

    431,118

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    7.61 kB

    Total Files

    7

    Last publish

    Collaborators

    • olliv
    • jamo