⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
Moment-compatible API in about 2 kB.
- Lenguaje
- JavaScript
- Licencia
- MIT
- Estrellas
- 49k
- Última versión
- v1.11.23
- Último push
- 2026-11-06
Parse, validate, manipulate, and display dates in javascript.
Day.js, date-fns, Luxon y otras. 4 alternativas a Moment.js, en JavaScript, TypeScript. Compara el nivel de sustitución, la licencia, las estrellas y la última versión firmada. Sustitución directa: Day.js.
| Herramienta | Sustitución | Estrellas | Licencia | Condiciones | Autoalojable | Lenguaje | Última versión | Último push |
|---|---|---|---|---|---|---|---|---|
| Day.js | Sustitución directa | 49k | MIT | Código abierto | No | JavaScript | v1.11.23 | 2026-11-06 |
| date-fns | Sustitución completa | 37k | Ninguna detectada | Código abierto | No | TypeScript | v4.4.0 | 2026-10-26 |
| Luxon | Sustitución completa | 16k | MIT | Código abierto | No | JavaScript | 3.7.2 | 2026-08-09 |
| spacetime | Sustitución completa | 4.1k | Apache-2.0 | Código abierto | No | JavaScript | 7.17.1 | 2026-11-09 |
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 migración → Guía de migración oficial ↗
A lightweight javascript timezone library
Timezone-aware dates with the timezone data built in, and an immutable API.