dayjs
2KB immutable date time library alternative to Moment.js with the same modern API
At a glance
What the data shows
Dayjs is completely free to use, with no paid tier required to get started.
dayjs is solidly rated, scoring 4.4 out of 5 on our rating metric.
Over the period tracked, dayjs has seen one of the faster-growing options tracked here, up roughly 328% across 4 years.
of the 3 metrics we track, dayjs comes out ahead on 1.
dayjs has been around since 2018, long enough to shake out early rough edges.
Growth over time
dayjs vs. Date & Time Libraries average
| Feature | dayjs | Date & Time Libraries average |
|---|---|---|
| Weekly Downloads | 107,349,363 | 126,496,512 |
| Dependent Packages | 25,665 | 6,160 |
| Popularity score | 4.4 / 5 | 4.4 / 5 |
Strengths & watch-outs
Strengths
- Comes out ahead on dependent packages — 25,665 against a category average of 6,160.
- Free to use, with no paid tier required to get started.
Watch-outs
- Falls short on weekly downloads — 107,349,363 against a category average of 126,496,512.
- Popularity score trails the category average: 4.4 / 5 vs. 4.4 / 5.
- Growing fast enough that current figures may shift quickly — verify before relying on them.
Common questions
Is dayjs free to use?
Yes — dayjs is free, with no paid tier required to get started.
Is dayjs good? What's its rating?
dayjs scores 4.4 out of 5 on our rating metric, versus a Date & Time Libraries category average of 4.4.
How many people use dayjs?
dayjs has roughly 107.3M users/stars tracked, compared to a category average of 126.5M.
When was dayjs founded?
dayjs was founded in 2018, making it 8 years old.
Is dayjs growing?
Yes — usage is up roughly 328% over the past 4 years.
Ready to see dayjs for yourself?
Opens the official site in a new tab.