Humanize time 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