seconds-to-human

0.0.1 • Public • Published

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
###

Package Sidebar

Install

npm i seconds-to-human

Weekly Downloads

245

Version

0.0.1

License

none

Last publish

Collaborators

  • taky