An open API service indexing awesome lists of open source software.

https://github.com/ytakkar/handy-timeago

Returns Time in ago format!! 🕗🕗🕗
https://github.com/ytakkar/handy-timeago

javascript timeago

Last synced: 3 months ago
JSON representation

Returns Time in ago format!! 🕗🕗🕗

Awesome Lists containing this project

README

        

# Handy-TimeAgo

Returns Time in ago format!! 🕗🕗🕗!!

# Usage

```javascript
import HandyTimeAgo from 'handy-timeago'
HandyTimeAgo(time:String||Number):String
```

# Examples

```javascript
import HandyTimeAgo from 'handy-timeago'
let time = new Date().getTime()-10000
console.log(HandyTimeAgo(time))
>> "10 seconds ago"
```

**Thanks for reading!!**