Ross ROSS = Recommend OSS · open-source software intelligence for agents

iamkun/dayjs

⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API observed · 2026-08-28

github.com/iamkun/dayjs · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

98/100

  • Activity 98
  • Release rhythm 98
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 1
  • age_days: 3067
  • days_rel: 16
  • days_push: 15
  • n_releases_24m: 10

Full methodology

Adoption not part of the score

48664 stars · 2467 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Day.js is a minimalist 2kB immutable JavaScript date-time library for parsing, validating, manipulating, and formatting dates and times. It offers a largely Moment.js-compatible API, making it a drop-in lightweight replacement for Moment.js.

Use cases

  • format dates and times in javascript
  • parse and validate date strings
  • replace moment.js with a smaller library
  • add or subtract days and months from dates
  • internationalize date formatting
  • get start of month or week in javascript

When to choose

  • you need a tiny (~2kB) date library for browser or Node.js
  • you want Moment.js-compatible API with immutability
  • bundle size matters in a frontend project

When to avoid

  • you need advanced timezone handling without adding plugins
  • you prefer a modern native Intl/Temporal-based approach
  • you need calendar-aware recurring events out of the box

Facets

library · maturity stable

date-time internationalization parser web-development frontend developer-tools browser cross-platform date-formatting momentjs-alternative immutable 2kb time-manipulation timezone localization nodejs javascript

4 sources

Member repositories

RepositoryRoleHealth v2
iamkun/dayjsmain98

For agents

markdown · JSON · MCP: product_card(name="iamkun/dayjs")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem