handy-timeago
v1.0.2
Published
Returns Time in ago format!!
Downloads
57
Readme
Handy-TimeAgo
Returns Time in ago format!! 🕗🕗🕗!!
Usage
import HandyTimeAgo from 'handy-timeago'
HandyTimeAgo(time:String||Number):String
Examples
import HandyTimeAgo from 'handy-timeago'
let time = new Date().getTime()-10000
console.log(HandyTimeAgo(time))
>> "10 seconds ago"
Thanks for reading!!