Search results

6 packages found

A convenient Intl.RelativeTimeFormat polyfill

published 1.1.6 2 years ago
M
Q
P

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' })

published 1.1.2 5 months ago
M
Q
P

Format duration between two dates using Intl.RelativeTimeFormat

published 2.0.4 a year ago
M
Q
P

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

published 1.0.0 2 years ago
M
Q
P

A fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'

published 1.0.7 5 years ago
M
Q
P

Formats a date using the Intl RelativeTimeFormat API with automatic unit selection.

published 2.0.0 a year ago
M
Q
P