@feelinglovelynow/get-relative-time

Simple function that recieves a Date object that is in the future or is in the past and gives back the relative time using Intl.RelativeTimeFormat('en', { numeric: 'auto' })

@sscovil/rtf

Relative time formatter that leverages Intl.RelativeTimeFormat() under the hood.