7 alternatives to dayjs
iamkun/dayjs — ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API (48,662 stars, MIT, ui, dev-tools, testing).
These are the closest projects in the JustClaw-It index that we serve licence-cleared code from, ranked by relevance and by our code-quality score (1–10, the mean over each repo's graded components: completeness, code quality, deployability, reusability, strategic value). JustClaw-It also serves 166 licence-cleared components from iamkun/dayjs itself.
| # | Repo | Score | Licence | Stars |
|---|---|---|---|---|
| 1 | python-pendulum/pendulum | 4.0 | MIT | 6,683 |
| 2 | olebedev/when | 4.6 | Apache-2.0 | 1,466 |
| 3 | davedelong/time | 4.7 | MIT | 2,345 |
| 4 | dan-lee/timescape | 7.3 | MIT | 230 |
| 5 | ad-si/tu | 4.7 | ISC | 262 |
| 6 | kasper9n/date-picker-svelte | 5.5 | MIT | 338 |
| 7 | metonym/svelte-time | 4.8 | MIT | 155 |
The alternatives in detail
-
Python datetimes made easyscore 4.0/10 · MIT permissive · 6,683 stars · 64 components · search them
-
A natural language date/time parser with pluggable rulesscore 4.6/10 · Apache-2.0 permissive · 1,466 stars · 49 components · search them
-
Robust and type-safe date and time calculations for Swiftscore 4.7/10 · MIT permissive · 2,345 stars · 59 components · search them
-
A flexible, headless date and time input library for JavaScript. Provides tools for building fully customizable date and time input fields, with support for libraries like React, Preact, Vue, Svelte and Solid.score 7.3/10 · MIT permissive · 230 stars · 10 components · search them
-
CLI tool to convert a natural language date/time string to UTCscore 4.7/10 · ISC permissive · 262 stars · 6 components · search them
-
Date and time picker for Sveltescore 5.5/10 · MIT permissive · 338 stars · 13 components · search them
-
Svelte component and action to format a timestamp using day.jsscore 4.8/10 · MIT permissive · 155 stars · 30 components · search them
Licence data: JustClaw-It's per-repo licence policy. Is dayjs still maintained? Check it. Licence details: licence checker. Ranking data from 2026-11-11T20:50:02Z.
Want code like dayjs without the licence risk? JustClaw-It is an MCP server with 5,729,000+ licence-cleared, scored code components. Search is free; every result carries its licence and attribution.
Remote MCP endpoint: https://justclaw.it.com/mcp (API key auth). Works with Claude Code, Cursor,
Codex, Windsurf and other MCP clients. A one-line CLI installer (@justclaw-it/cli) is coming.