Ago Packages

hl-ago

A tool for calculating how long ago a date was.

1.0.3 • Published 10 years ago

t-since

Format the relative time between the current date and a given date in a human readable format. The output is rounded to the nearest time unit, i.e. 1 year ago, 5 minutes ago, in 3 days, in 6 seconds

2.0.1 • Published 1 year ago

some-time-ago

Human-friendly description of how long ago was a given date using Intl

0.2.1 • Published 2 years ago

ytimeago

``` let ago = require('ytimeago') v = ago(Date.now() - 1000) // 1s v = ago(Date.now() - 1000, '') // just now v = ago(Date.now() - 60 * 1000) // 1m // 1 minute ago v = ago(Date.now() - 60 * 60 * 1000) // 1h // 1 hour ago v = ago(Date.now() - 24 * 60 * 60

1.0.0 • Published 12 months ago

@newtovaux/ago

Node.js module to change dates into x-secs/mins/hours/days/week/years ago string

1.0.1 • Published 4 years ago

@radulucut/relative

Format the relative time between the current date and a given date in a human readable format. The output is rounded to the nearest time unit, i.e. 1 year ago, 5 minutes ago, in 3 days, in 6 seconds

2.0.5 • Published 1 year ago