seconds-to-human
v0.0.1
Published
simple seconds to humanized format
Downloads
2,519
Maintainers
Readme
seconds-to-human
install
using npm
npm i seconds-to-human --save
example
to_human = require 'seconds-to-human'
console.log to_human 3838
console.log to_human '3600'
console.log to_human 12
console.log to_human 1200
console.log to_human 3600*24*100
###
1.1 hours
1 hour
12 seconds
20 minutes
3.3 months
###