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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    53
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    53

Package Sidebar

Install

npm i seconds-to-human

Weekly Downloads

53

Version

0.0.1

License

none

Last publish

Collaborators

  • taky