Skip to content

shime/humanize-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Humanize time

Downloads

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

About

Converts miliseconds to human-readable format.

Resources

License

Stars

Watchers

Forks

Packages

No packages published