Skip to content

Entry

timeago.js

Appears in 5 awesome lists

Simple library (less then 2kb) used to format date with *** time ago statement.

Open github.comhustcc/timeago.js

Found in these lists

前端组件库

Section: 12. 日期格式化 & 时间轴

StaleScore 47

Awesome JavaScript

Section: Date · Simple library (less then 2kb) used to format date with *** time ago statement.

FreshScore 88

Awesome Micro npm Packages

Section: Date & Time · A tiny(~1.7kb) library used to format date with *** time ago statement.

StaleScore 54

Awesome Tiny JS

Section: Dates and Time · Format dates into stuff like X minutes ago or in X hours,

StaleScore 50

Awesome Nodejs

Section: 日期 和 时间 · timeago.js 是一个很小的(2.0 kb)库,用于使用 *** time ago 语句格式化日期。

StaleScore 51

dayjs

⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

In 6 listsDetails

date-fns

Not tiny as a whole, but most functions are under 1 kB each (format and parse are quite heavy).

In 5 listsDetails

moment

(label: Up-For-Grabs) A lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates.

In 5 listsDetails

luxon

Luxon is a library for working with dates and times in JavaScript.

In 4 listsDetails

pretty-ms

Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s.

In 3 lists

fecha

Lightweight date formatting and parsing (~2KB). Meant to replace parsing and formatting functionality of moment.js.

In 3 lists

Timeago

clock8: The original jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago").

In 3 lists

moment-timezone

Timezone support for moment.js.