# Day.js — card for AI agents

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

Category: Utilities · npm package `dayjs` · latest version 1.11.23 (checked 2026-11-01)
Install: `npm install dayjs`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 82.4 (#65 of all tools, 5 of 408 in its category)
- Used in 91 public projects set up for AI coding agents (1.5%)
- Downloads last week: 116,542,694 (as of 2026-11-24), +49.4% over 4 weeks
- GitHub stars: 48,644 (as of 2026-11-24)
- Last push: 2026-11-06

## Often used with
ESLint 82.4%, Vite 59.3%, Tailwind CSS 74.7%, TypeScript 92.3%, Axios 37.4%, Vue 30.8%

## Checked alternatives (same job)
- date-fns: https://agentgid.com/tools/date-fns/agent.md
- Moment.js: https://agentgid.com/tools/moment/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/dayjs/
- Homepage: https://day.js.org
- Repository: https://github.com/iamkun/dayjs

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
