Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

date-fns architecture

Changing src/constants in date-fns reaches 1,067 modules. 43 files call it directly. Snapshot a9739fb.

The first file to open in date-fns is src/constants. A change there reaches 1,067 of 1,120 modules.

This lead file reaches 95% of the graph. The median published proof reaches 60%.

src/constants1,067 · 43 fan-in
src/types1,001 · 362 fan-in
src/constructFrom984 · 58 fan-in
src/toDate899 · 112 fan-in
_lib/convertToFP398 · 397 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: date-fns (pkgs/core) · Score: 77.8/100 (Healthy architecture) · 1,120 modules · 3,154 edges · TypeScript · 53 of 94 · Language score median 80.1

Cycles
0
Duplicate authorities
227
God modules
19
Layer violations
0
arc impact src/constants

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for date-fns
[![ArcSight architecture proof for date-fns](https://arcsight.ai/badge/proof/date-fns/)](https://arcsight.ai/repositories/date-fns/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

date-fns · a9739fb

RankFileFan-inBlastShare
1src/constants

concentrates too many responsibilities, shared utility hub

431,06795%
2src/types

concentrates too many responsibilities, shared utility hub

3621,00189%
3src/constructFrom

concentrates too many responsibilities

5898488%
4src/toDate11289980%
5src/fp/_lib/convertToFP39739836%
All ranked files
RankFileFan-inBlastShare
6src/_lib/normalizeDates4327825%
7src/_lib/defaultOptions2120718%
8src/startOfWeek1715714%

Nearby proofs

Snapshot notes

In date-fns date-fns, a change that begins in constants keeps traveling until it reaches types, with constructFrom as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark bacbcbfabf.

toDate is worth opening beside constants because _lib convertToFP still participates when toDate moves, and _lib normalizeDates stays in view for date-fns date-fns, snapshot mark bacbcbfabf.

Review _lib defaultOptions only after types and startOfWeek are both on the table, since the link from fp types back to constructFrom belongs to date-fns date-fns under snapshot mark bacbcbfabf.

constants and types are later stops, and a reviewer who has already seen constructFrom should still look at toDate before treating the ROOT_CLUSTER group as understood for date-fns date-fns, snapshot mark bacbcbfabf.

toDate closes the file list after _lib convertToFP and constants, which keeps the date-fns date-fns note tied to snapshot mark bacbcbfabf, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (684 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in date-fns date-fns: constants?
Start with constants, because the rest of the date-fns date-fns walk leaves from that file and types is the next file in the same review. Commit bacbcbfabf records it.
What else is on the date-fns date-fns walk besides constants and constructFrom?
constructFrom and toDate stay on the walk with _lib convertToFP, which are different files from constants inside the ROOT_CLUSTER group for date-fns date-fns. Commit bacbcbfabf records it.
How should a reviewer use _lib normalizeDates in the date-fns date-fns snapshot?
Keep _lib normalizeDates, _lib defaultOptions, and startOfWeek open together, then check fp types before merging the date-fns date-fns change. Commit bacbcbfabf records it.
Where does the date-fns date-fns review stop after constants?
Stop after constants, types, and constructFrom have been compared with toDate, leaving the ROOT_CLUSTER group until those date-fns date-fns files are clear. Commit bacbcbfabf records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/date-fns/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo