⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
Moment-compatible API in about 2 kB.
- Linguagem
- JavaScript
- Licença
- MIT
- Estrelas
- 49k
- Última release
- v1.11.23
- Último push
- 2026-11-06
Parse, validate, manipulate, and display dates in javascript.
Day.js, date-fns, Luxon e outras. 4 alternativas a Moment.js, em JavaScript, TypeScript. Compare tipo de substituição, licença, estrelas e a última release assinada. Drop-in: Day.js.
| Ferramenta | Substituição | Estrelas | Licença | Termos | Auto-hospedado | Linguagem | Última release | Último push |
|---|---|---|---|---|---|---|---|---|
| Day.js | Drop-in | 49k | MIT | Código aberto | Não | JavaScript | v1.11.23 | 2026-11-06 |
| date-fns | Substituição completa | 37k | Nenhuma detectada | Código aberto | Não | TypeScript | v4.4.0 | 2026-10-26 |
| Luxon | Substituição completa | 16k | MIT | Código aberto | Não | JavaScript | 3.7.2 | 2026-08-09 |
| spacetime | Substituição completa | 4.1k | Apache-2.0 | Código aberto | Não | JavaScript | 7.18.0 | 2026-11-21 |
4 alternativas
⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
Moment-compatible API in about 2 kB.
⏳ Modern JavaScript date utility library ⌛️
Plain functions over native Date, tree-shakable.
⏱ A library for working with dates and times in JS
Immutable, with Intl-based time zones, from Moment's maintainers.
Notas de migração → Guia oficial de migração ↗
A lightweight javascript timezone library
Timezone-aware dates with the timezone data built in, and an immutable API.