@capaj/secs

    1.0.1 • Public • Published

    secs

    ms, but with built in conversion to seconds. Usage is trivial

    secs(2 * 24 * 60 * 60)// '2d'
    secs(2 * 24 * 60 * 60, {long: true})// '2 days'
    secs('2d') // 172800

    Keywords

    Install

    npm i @capaj/secs

    DownloadsWeekly Downloads

    210

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • capaj