@maxdome/parse-duration

    1.4.4 • Public • Published

    Usage

    1 hour 20 minutes in milliseconds

    const ms = require('@maxdome/parse-duration')('1h 20m');

    1 hour 20 minutes in seconds (with second parameter)

    const s = require('@maxdome/parse-duration')('1h 20m', 's');

    1 hour 20 minutes in seconds (with "in" keyword)

    const s = require('@maxdome/parse-duration')('1h 20m in s');

    Keywords

    none

    Install

    npm i @maxdome/parse-duration

    DownloadsWeekly Downloads

    13

    Version

    1.4.4

    License

    none

    Unpacked Size

    4.37 kB

    Total Files

    5

    Last publish

    Collaborators

    • dragonnodejs
    • sharaal
    • fabsrc
    • markusz
    • mxdbv
    • csaba.lorincz
    • goexrock
    • dimified