humanize-time
Converts miliseconds to human-readable format.
Last updated 4 years ago by shime .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install humanize-time 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.3                                ...           latest (4 years ago)

3 Versions

  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           12 years ago
  • 0.0.1                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |