npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

humanize-time

0.0.2 • Public • Published

Humanize time

Build Status

Converts miliseconds to human-readable format.

Install

npm install humanize-time

Example

  var time = require('humanize-time')
 
  time(2000)    // '2s'
  time(62000)   // '1m, 2s'
  time(3662000) // '1h, 1m, 2s'

License

MIT

install

npm i humanize-time

Downloadsweekly downloads

156

version

0.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability