Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Day.js

2KB immutable date/time library with modern API as lightweight Moment.js alternative.

UtilitiesNPM

GitHubWebsite

1. License

License from npm.

github.com/iamkun/dayjs

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Day.js does

2KB immutable date/time library with modern API as lightweight Moment.js alternative.

Day.js popularity

82 / 100
Gid Score, #65 overall
117M
downloads a week, npm
48.6K
GitHub stars
91
agent projects use it
Day.js: downloads per weeknpm, dayjs 116,542,694
Day.js: GitHub starsiamkun/dayjs 48,644

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Day.js is used

  • Day.js is a dependency in 91 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.9% of the 4,867 JavaScript/TypeScript ones), #12 of 408 in utilities.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 341; those are left out of every share on this page.
  • The most used alternative in our scan is date-fns (648 projects).
  • Projects that use it most often also use ESLint (82.4%), Vite (59.3%), Tailwind CSS (74.7%).

By coding agent

55 projects, 1.8%
48 projects, 1.5%
46 projects, 1.9%
14 projects, 3.0%
9 projects, 1.9%
7 projects, 2.0%

Often used with

In 82.4% of its projects
In 59.3% of its projects
In 74.7% of its projects
In 92.3% of its projects
In 37.4% of its projects
In 30.8% of its projects
In 48.4% of its projects
In 47.3% of its projects

More about Day.js

Funding
  • GitHub Sponsors: https://github.com/iamkun
  • Open Collective: https://opencollective.com/dayjs
  • 14 GitHub sponsors

See all

Head to head
More in Utilities

Alternatives

Day.js This page

MITGid 82117M/wk

date-fns

Modern JavaScript date utility library with comprehensive formatting functions.

MITGid 86127M/wk

Moment.js

Parse, validate, manipulate and format dates and times in JavaScript.

MITGid 7552.2M/wk

Compare Day.js with another tool

Get started

Install it.

npm install dayjs

No step-by-step start for Day.js yet: we have not written its hand-checked card.