Skip to content

Entry

date-fns

Appears in 5 awesome lists

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

Open github.comdate-fns/date-fns

Found in these lists

Awesome JavaScript

Section: Date · Modern JavaScript date utility library.

FreshScore 88

Awesome Nodejs

Section: Date · Modern date utility.

FreshScore 90

Awesome Tiny JS

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

StaleScore 50

Best Of React

Section: date-fns (47 · 34K) - Modern JavaScript date utility library. MIT · (👨‍💻 410 · 🔀 1.7K · 📦 3.1M · 📋 2K - 34% open · ⏱️ 13.05.2024):

SlowScore 57

Awesome Nodejs

Section: 日期 和 时间 · 现代 JavaScript 日期工具库。

StaleScore 51

dayjs

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

In 6 listsDetails

timeago.js

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

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

ms

Parse & format ms durations, e.g. "1m" <-> 60000,

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

dateformat

Date formatting.

In 2 lists