twas

    2.1.2 • Public • Published

    twas

    Travis Coveralls branch license

    Tiny (280B) relative time string function (eg: "3 seconds ago")

    Install

    $ npm i -S twas

    Usage

    import twas from 'twas';
    
    console.log(twas(Date.now() - (5 * 1000));
    
    // -> 5 seconds ago

    License

    MIT © Vu Tran

    Install

    npm i twas

    DownloadsWeekly Downloads

    98

    Version

    2.1.2

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • vutran