Search results

17 packages found

React Component for rendering relative dates as <time> HTML5 elements

published version 0.0.9, 2 years ago6 dependents licensed under $MIT
57,768

Relative time with @formatjs/intl made easy

published version 3.0.1, 2 years ago0 dependents licensed under $MIT
1,397

Efficient, lightweight, auto-updating timeago timestamps for Svelte

published version 0.0.6, a year ago0 dependents licensed under $MIT
1,749

Convert any date to a human-readable time difference like '2 hours ago' or '1 min remaining'

published version 1.0.3, 13 days ago0 dependents licensed under $MIT
185

Parser for relative time expression

published version 0.5.1, 6 years ago1 dependents licensed under $MIT
138

moment binding for relative time expression

published version 0.5.1, 6 years ago0 dependents licensed under $MIT
139

A modern, accessible, and internationalized relative time formatting library for React, Vue, and Angular.

published version 1.0.0, 20 days ago0 dependents licensed under $MIT
72

A library for calculating relative time strings, compatible with both ESM and MPA environments.

published version 1.3.9, 10 months ago0 dependents licensed under $Apache-2.0
39

relative-time-converter is a lightweight utility that converts absolute dates or timestamps into human-friendly, relative time phrases like "2 hours ago" or "in 3 days." Perfect for improving date displays in apps, websites, or dashboards.

published version 1.0.0, 9 months ago0 dependents licensed under $ISC
18

A robust, type-safe utility for calculating and formatting time differences. Supports multiple formats (relative, absolute, or individual time units) with internationalization support and accurate handling of future dates, leap years, and timezone differe

published version 2.1.0, 2 months ago0 dependents licensed under $MIT
25

A gadget that converts time into relative time

published version 0.1.4, 3 years ago0 dependents licensed under $MIT
13

A hover card that displays relative time relative to local time with timezone information.

published version 0.0.1, 3 months ago0 dependents licensed under $MIT
12

Format dates into human-readable strings like '5 minutes ago' or 'Yesterday'.

published version 1.0.2, 3 months ago0 dependents licensed under $MIT
12

A utility helper to calculate "time ago" or "from now " in a readable format using Intl API

published version 0.1.0, 4 years ago0 dependents licensed under $MIT
9

It calculates the time just like Facebook whenever a new post or anything is uploaded and this function is used to calculate the time distance from the current time.

published version 1.0.0, a year ago0 dependents licensed under $ISC
8

A lightweight JavaScript library to format timestamps into human-readable relative time (e.g., '5 minutes ago').

published version 1.0.0, 4 months ago0 dependents licensed under $MIT
1

Vue2相对时间转换指令, 每分钟动态刷新一次。

published version 1.0.1, 2 years ago0 dependents licensed under $ISC
1