comparar
date-fns vs spacetime
Os mesmos fatos para os dois, lidos do GitHub toda noite, e a relação que uma pessoa revisou.
| Fato | date-fns | spacetime |
|---|---|---|
| Linguagem | TypeScript | JavaScript |
| Licença | Nenhuma detectada | Apache-2.0 |
| Estrelas | 37k | 4.1k |
| Última release | v4.4.0 | 7.18.0 |
| Último push | 2026-10-26 | 2026-11-21 |
| Ritmo de releases | cerca de 4 dias entre releases | cerca de 15 dias entre releases |
| Contribuidores ativos | 1 autor de commits na branch padrão nos últimos 90 dias | 9 autores de commits na branch padrão nos últimos 90 dias |
| Alertas | Nenhuma licença detectada | nenhum |
Como se relacionam
Os dois substituem Moment.js. Alternativas a Moment.js →
Substituição completadate-fnsPlain functions over native Date, tree-shakable.
Substituição completaspacetimeTimezone-aware dates with the timezone data built in, and an immutable API.
date-fns
- v5.0.0-alpha.02026-05-29v5 focuses on reducing the date-fns package size. Compared to v4.3.0, this version reduces the zipped package size from…pré-release
- v4.4.02026-05-29This release revisits the approach to CDN usage and introduces a new package, @date-fns/cdn and deprecates the date-fns…
- v4.3.02026-05-22Kudos to @ImRodry and @puneetdixit200 for their contributions.
- v4.2.12026-05-18Fixed type definitions missing in v4.2.0 due to TypeScript misconfiguration.
- v4.2.02026-05-18This is a minor release in all senses, it only includes documentation updates (first of many) that points to the new Yo…
spacetime
- 7.18.02026-11-21[update] - 2027 DST changes
- 7.17.12026-11-06[fix] - #479 year-arithmetic on leap
- 7.17.02026-10-16[change] - #212 return proper titlecased IANA codes in .whereIts()
- 7.16.02026-10-01[change] deprecated but exposed .d date now is in UTC - users can do s.toNativeDate()
- 7.15.02026-09-19[fix] - stale dst offsets #470 (thanks Sudarshan!)
date-fns
✓ assinada A última release, v4.4.0, tem uma assinatura verificada pelo GitHub.
Carregando o relatório de segurança
spacetime
✓ assinada A última release, 7.18.0, tem uma assinatura verificada pelo GitHub.
Carregando o relatório de segurança