3. Used by agents' projects
Dependency in 91 public GitHub projects set up for AI coding agents that we scanned (1.5%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
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
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
Often used with
More about Day.js
Funding
- GitHub Sponsors: https://github.com/iamkun
- Open Collective: https://opencollective.com/dayjs
- 14 GitHub sponsors
Head to head
- date-fns vs Day.js used together in 21 projects
Alternatives
Day.js This page
Modern JavaScript date utility library with comprehensive formatting functions.
Parse, validate, manipulate and format dates and times in JavaScript.
Get started
Install it.
npm install dayjsNo step-by-step start for Day.js yet: we have not written its hand-checked card.