48.6k

Dayjs

Day.js is a 2kB immutable date-time library, providing a modern API as a lightweight alternative to Moment.js.

Dayjs is built in JavaScript, distributed under the MIT License, 48.6k GitHub stars from 100 contributors, latest release v1.11.20.

When to use Dayjs

Dayjs is listed here as a Development project. The directory calls out Immutable data structures, Lightweight (2kB), Compatibility with Moment.js as capabilities associated with it.

Other recorded traits for Dayjs include Modern API design, Plugin support.

Besides Development, this page also files Dayjs under JavaScript, Utils.

Dayjs compared with

Records in this directory name Moment.js, Luxon, date-fns as products people compare with Dayjs. That list is editorial metadata, not a claim that Dayjs replaces each of them.

Open-source projects that mention Dayjs are collected on a separate alternatives page.

What the Dayjs stats reflect

GitHub currently shows 48.6k GitHub stars, about 100 contributors, 2.4k forks, 1.2k open issues, latest tracked release v1.11.20. Star and activity counts here are a snapshot used as a proxy for community adoption, not a quality score.

Stats refreshed

Language
JavaScript
Latest Release
v1.11.20
License
MIT License

Our Newsletter

Get new Development tools right in your inbox

Get short emails with useful development projects, releases, and repos worth watching.


Key features of Dayjs

  • Immutable data structures
  • Lightweight (2kB)
  • Compatibility with Moment.js
  • Modern API design
  • Plugin support

Recorded alternatives to Dayjs

See open-source alternatives to Dayjs

Compare with



Dayjs on GitHub

Stars
48.6k
Contributors
100
Open Issues
1.2k
Forks
2.4k

Frequently asked questions

What is Dayjs?

Day.js is a 2kB immutable date-time library, providing a modern API as a lightweight alternative to Moment.js. This directory highlights Immutable data structures, Lightweight (2kB), Compatibility with Moment.js.

Is Dayjs free to use?

Dayjs is published as open source under the MIT License. The directory lists Immutable data structures, Lightweight (2kB), Compatibility with Moment.js among its recorded capabilities.

What language is Dayjs written in, and what is the latest release?

Dayjs is written primarily in JavaScript. The latest release tracked on this page is v1.11.20.

How widely is Dayjs used on GitHub?

Dayjs has about 48.6k GitHub stars across about 100 contributors. It also has about 2.4k forks. Those counts are a snapshot of community attention, not a ranking of quality.

What do people compare Dayjs with?

This directory records Moment.js, Luxon, date-fns as comparison points for Dayjs. A longer list of open-source projects that mention Dayjs is at https://www.open-source-tools.com/alternatives/dayjs.