比較
date-fns vs Day.js
両方について毎晩 GitHub から取得した同じ項目と、人がレビューした両者の関係です。
| 項目 | date-fns | Day.js |
|---|---|---|
| 言語 | TypeScript | JavaScript |
| ライセンス | 検出されず | MIT |
| スター | 37k | 49k |
| 最新リリース | v4.4.0 | v1.11.23 |
| 最終プッシュ | 2026-09-22 | 2026-09-15 |
| リリース間隔 | リリース間隔は約4日 | リリース間隔は約78日 |
| アクティブなコントリビューター | 過去90日間にデフォルトブランチでコミットした作成者2人 | 過去90日間にデフォルトブランチでコミットした作成者4人 |
| 警告 | ライセンス未検出 | なし |
両者の関係
どちらも Moment.js を置き換えます。 Moment.jsの代替 →
完全な置き換えdate-fnsPlain functions over native Date, tree-shakable.
ドロップインDay.jsMoment-compatible API in about 2 kB.
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…プレリリース
- 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…
Day.js
- v1.11.232026-08-17plugin: timezone plugin prevent RangeError for invalid Day.js values (#3180) (dad46e6)
- v1.11.222026-08-16plugin: timezone compute instance .tz() offset without host DST (#3174) (e27ee80), closes #3169
- v1.11.212026-05-26preserve unsupported year tokens in format (#3015) (#3016) (8fda602)
- v1.11.202026-03-12Update locale km.js to support meridiem (#3017) (9d2b6a1)
- v1.11.192025-10-31added usage warnings for diff + updated unit tests (#2948) (269a7a9)
date-fns
✓ 署名済み 最新リリース v4.4.0 には、GitHub が検証した署名があります。
セキュリティレポートを読み込み中
Day.js
署名なし 最新リリース v1.11.23 には、GitHub が検証できる署名がありません。
セキュリティレポートを読み込み中