@jswork/next-time-format

1.0.4 • Public • Published

next-time-format

Time format for next.

version license size download

installation

npm install -S @jswork/next-time-format

usage

import '@jswork/next-time-format';

// micro
nx.timeFormat(354*1000);
// { hour: 0, minute: 5, second: 54, datetime:'00:05:54' }


nx.timeFormat(4066);
/*
{
  hour: 0,
  minute: 0,
  second: 4,
  millisecond: 66,
  datetime: '00:00:04'
}
*/

license

Code released under the MIT license.

Dependencies (0)

    Dev Dependencies (15)

    Package Sidebar

    Install

    npm i @jswork/next-time-format

    Homepage

    js.work

    Weekly Downloads

    1

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    5.81 kB

    Total Files

    6

    Last publish

    Collaborators

    • afeiship